aboutsummaryrefslogtreecommitdiff
path: root/doc/http.html
diff options
context:
space:
mode:
authorDiego Nehab <diego.nehab@gmail.com>2012-04-17 01:15:26 +0800
committerDiego Nehab <diego.nehab@gmail.com>2012-04-17 01:15:26 +0800
commitf37e0260261f7691246429d227cf7124c291e8b1 (patch)
tree7e84322c8852d4227e36958af1132a4588f64795 /doc/http.html
parentb3c4f46179ed5b27ca76a824f8730fa50dbaae0b (diff)
downloadluasocket-f37e0260261f7691246429d227cf7124c291e8b1.tar.gz
luasocket-f37e0260261f7691246429d227cf7124c291e8b1.tar.bz2
luasocket-f37e0260261f7691246429d227cf7124c291e8b1.zip
First stab at documenation
Update Lua and Luasocket version in samples and in documentation Documented ipv5_v6only default option being set Documented tcp6 and udp6 Documented dns.getaddrinfo Documented zero-sized datagram change? Documented getoption
Diffstat (limited to 'doc/http.html')
-rw-r--r--doc/http.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/http.html b/doc/http.html
index 66282a4..9f3f087 100644
--- a/doc/http.html
+++ b/doc/http.html
@@ -36,7 +36,7 @@
36 36
37<!-- http +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 37<!-- http +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
38 38
39<h2 id=http>HTTP</h2> 39<h2 id="http">HTTP</h2>
40 40
41<p> 41<p>
42HTTP (Hyper Text Transfer Protocol) is the protocol used to exchange 42HTTP (Hyper Text Transfer Protocol) is the protocol used to exchange
@@ -119,7 +119,7 @@ the HTTP module:
119 119
120<!-- http.request ++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> 120<!-- http.request ++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
121 121
122<p class=name id=request> 122<p class=name id="request">
123http.<b>request(</b>url [, body]<b>)</b><br> 123http.<b>request(</b>url [, body]<b>)</b><br>
124http.<b>request{</b><br> 124http.<b>request{</b><br>
125&nbsp;&nbsp;url = <i>string</i>,<br> 125&nbsp;&nbsp;url = <i>string</i>,<br>
@@ -256,7 +256,7 @@ r, c, h = http.request {
256-- } 256-- }
257</pre> 257</pre>
258 258
259<p class=note id=post> 259<p class=note id="post">
260Note: When sending a POST request, simple interface adds a 260Note: When sending a POST request, simple interface adds a
261"<tt>Content-type: application/x-www-form-urlencoded</tt>" 261"<tt>Content-type: application/x-www-form-urlencoded</tt>"
262header to the request. This is the type used by 262header to the request. This is the type used by
@@ -264,7 +264,7 @@ HTML forms. If you need another type, use the generic
264interface. 264interface.
265</p> 265</p>
266 266
267<p class=note id=authentication> 267<p class=note id="authentication">
268Note: Some URLs are protected by their 268Note: Some URLs are protected by their
269servers from anonymous download. For those URLs, the server must receive 269servers from anonymous download. For those URLs, the server must receive
270some sort of authentication along with the request or it will deny 270some sort of authentication along with the request or it will deny