diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 01:02:14 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-06-16 01:02:14 +0000 |
commit | 8e80e38f2c3121242b3b2f7a45a960c9af4d1a68 (patch) | |
tree | 4c643fe319f364a87767a287bfcecb402a524d5e /doc/http.html | |
parent | d46f7a09a768b146f2f3cdc9a6a50357832bd1c7 (diff) | |
download | luasocket-8e80e38f2c3121242b3b2f7a45a960c9af4d1a68.tar.gz luasocket-8e80e38f2c3121242b3b2f7a45a960c9af4d1a68.tar.bz2 luasocket-8e80e38f2c3121242b3b2f7a45a960c9af4d1a68.zip |
Manual almost there.
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; |