@@ -99,7 +99,7 @@ This library provides http_open/3 and friends. It
99
99
is a library for opening an endpoint identified by an HTTP URL as a
100
100
Prolog stream. The general skeleton for using this library
101
101
is given below, where \nopredref{process}{1} processes the data from the
102
- HTTP server.\footnote{One may opt to use cleanup/2 intead of
102
+ HTTP server.\footnote{One may opt to use cleanup/2 instead of
103
103
setup_call_cleanup/3 to allow for aborting while http_open/3 is waiting
104
104
for the connection.}
105
105
@@ -458,7 +458,7 @@ message.
458
458
459
459
Options fall into three categories: those that handle presence of
460
460
the parameter, those that guide conversion and restrict types and
461
- those that support automatic generation of documention . First,
461
+ those that support automatic generation of documentation . First,
462
462
the presence-options:
463
463
464
464
\begin{description}
@@ -933,7 +933,7 @@ present. If the dispatch module is used (see \secref{httpdispatch}),
933
933
spawning is normally specified as an option to the http_handler/3
934
934
registration.
935
935
936
- We recomment the use of thread pools. They allow registration of a set
936
+ We recommend the use of thread pools. They allow registration of a set
937
937
of threads using common characteristics, specify how many can be active
938
938
and what to do if all threads are active. A typical application may
939
939
define a small pool of threads with large stacks for computation
@@ -1098,7 +1098,7 @@ not start with \chr{/}.
1098
1098
1099
1099
This problem can also be solved using the contributed Apache module
1100
1100
\const{proxy_html} that can be instructed to rewrite URLs embedded in
1101
- HTML documents. In our experience, this is not troublefree as URLs can
1101
+ HTML documents. In our experience, this is not trouble-free as URLs can
1102
1102
appear in many places in generated documents. JavaScript can create
1103
1103
URLs on the fly, which makes rewriting virtually impossible.
1104
1104
@@ -1301,7 +1301,7 @@ The example below generates a URL that references the predicate
1301
1301
set_lang/1 in the application with given parameters. The http_handler/3
1302
1302
declaration binds \const{/setlang} to the predicate set_lang/1 for which
1303
1303
we provide a very simple implementation. The code between \const{...}
1304
- is part of an HTML page showing the english flag which, when pressed,
1304
+ is part of an HTML page showing the English flag which, when pressed,
1305
1305
calls \term{set_lang}{Request} where \arg{Request} contains the search
1306
1306
parameter \mbox{\const{lang} = \const{en}}. Note that the HTTP location
1307
1307
(path) \const{/setlang} can be moved without affecting this code.
0 commit comments