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
This commit is contained in:
parent
b3c4f46179
commit
f37e026026
12 changed files with 367 additions and 197 deletions
|
@ -36,7 +36,7 @@
|
|||
|
||||
<!-- http +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
|
||||
<h2 id=http>HTTP</h2>
|
||||
<h2 id="http">HTTP</h2>
|
||||
|
||||
<p>
|
||||
HTTP (Hyper Text Transfer Protocol) is the protocol used to exchange
|
||||
|
@ -119,7 +119,7 @@ the HTTP module:
|
|||
|
||||
<!-- http.request ++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
||||
|
||||
<p class=name id=request>
|
||||
<p class=name id="request">
|
||||
http.<b>request(</b>url [, body]<b>)</b><br>
|
||||
http.<b>request{</b><br>
|
||||
url = <i>string</i>,<br>
|
||||
|
@ -256,7 +256,7 @@ r, c, h = http.request {
|
|||
-- }
|
||||
</pre>
|
||||
|
||||
<p class=note id=post>
|
||||
<p class=note id="post">
|
||||
Note: When sending a POST request, simple interface adds a
|
||||
"<tt>Content-type: application/x-www-form-urlencoded</tt>"
|
||||
header to the request. This is the type used by
|
||||
|
@ -264,7 +264,7 @@ HTML forms. If you need another type, use the generic
|
|||
interface.
|
||||
</p>
|
||||
|
||||
<p class=note id=authentication>
|
||||
<p class=note id="authentication">
|
||||
Note: Some URLs are protected by their
|
||||
servers from anonymous download. For those URLs, the server must receive
|
||||
some sort of authentication along with the request or it will deny
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue