diff options
Diffstat (limited to 'doc/http.html')
| -rw-r--r-- | doc/http.html | 5 |
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> |
| 196 | The most important parameters are the <tt>url</tt> and the LTN12 | 196 | The 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. | ||
| 198 | Any part of the <tt>url</tt> can be overriden by including | 197 | Any part of the <tt>url</tt> can be overriden by including |
| 199 | the appropriate field in the request table. | 198 | the appropriate field in the request table. |
| 200 | If authentication information is provided, the function | 199 | If 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 |
| 210 | is a body, you need to provide an appropriate "<tt>content-length</tt>" | 209 | is a body, you need to provide an appropriate "<tt>content-length</tt>" |
| 211 | request header field, or the function will attempt to send the body as | 210 | request 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; |
