From f37e0260261f7691246429d227cf7124c291e8b1 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Tue, 17 Apr 2012 01:15:26 +0800 Subject: 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 --- doc/http.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/http.html') 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 @@ -

HTTP

+

HTTP

HTTP (Hyper Text Transfer Protocol) is the protocol used to exchange @@ -119,7 +119,7 @@ the HTTP module: -

+

http.request(url [, body])
http.request{
  url = string,
@@ -256,7 +256,7 @@ r, c, h = http.request { -- } -

+

Note: When sending a POST request, simple interface adds a "Content-type: application/x-www-form-urlencoded" 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.

-

+

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 -- cgit v1.2.3-55-g6feb