aboutsummaryrefslogtreecommitdiff
path: root/doc/http.html
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-16 01:02:14 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2004-06-16 01:02:14 +0000
commit8e80e38f2c3121242b3b2f7a45a960c9af4d1a68 (patch)
tree4c643fe319f364a87767a287bfcecb402a524d5e /doc/http.html
parentd46f7a09a768b146f2f3cdc9a6a50357832bd1c7 (diff)
downloadluasocket-8e80e38f2c3121242b3b2f7a45a960c9af4d1a68.tar.gz
luasocket-8e80e38f2c3121242b3b2f7a45a960c9af4d1a68.tar.bz2
luasocket-8e80e38f2c3121242b3b2f7a45a960c9af4d1a68.zip
Manual almost there.
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;