aboutsummaryrefslogtreecommitdiff
path: root/doc/http.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/http.html')
-rw-r--r--doc/http.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/http.html b/doc/http.html
index 39eb2e4..bda3088 100644
--- a/doc/http.html
+++ b/doc/http.html
@@ -193,8 +193,7 @@ Performs the generic HTTP request, controled by a request table.
193</p> 193</p>
194 194
195<p class=parameters> 195<p class=parameters>
196The most important parameters are the <tt>url</tt> and the LTN12 196The most important parameters are the <tt>url</tt> and the <em>simple</em> LTN12 <tt>sink</tt> that will receive the downloaded content.
197<tt>sink</tt> that will receive the downloaded content.
198Any part of the <tt>url</tt> can be overriden by including 197Any part of the <tt>url</tt> can be overriden by including
199the appropriate field in the request table. 198the appropriate field in the request table.
200If authentication information is provided, the function 199If authentication information is provided, the function
@@ -206,7 +205,7 @@ following:
206<ul> 205<ul>
207<li><tt>method</tt>: The HTTP request method. Defaults to "GET"; 206<li><tt>method</tt>: The HTTP request method. Defaults to "GET";
208<li><tt>headers</tt>: Any additional HTTP headers to send with the request; 207<li><tt>headers</tt>: Any additional HTTP headers to send with the request;
209<li><tt>source</tt>: LTN12 source to provide the request body. If there 208<li><tt>source</tt>: <em>simple</em> LTN12 source to provide the request body. If there
210is a body, you need to provide an appropriate "<tt>content-length</tt>" 209is a body, you need to provide an appropriate "<tt>content-length</tt>"
211request header field, or the function will attempt to send the body as 210request header field, or the function will attempt to send the body as
212"<tt>chunked</tt>" (something few servers support). Defaults to the empty source; 211"<tt>chunked</tt>" (something few servers support). Defaults to the empty source;