From 11282d17c8ecb6aa6fa31a3de742eae0215f4cc0 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Mon, 3 Apr 2006 04:45:42 +0000 Subject: Almost done 2.0.1. --- doc/http.html | 10 ++++++- doc/index.html | 77 ++++++++++++--------------------------------------- doc/installation.html | 4 +-- 3 files changed, 29 insertions(+), 62 deletions(-) (limited to 'doc') diff --git a/doc/http.html b/doc/http.html index a60ed25..992ac7a 100644 --- a/doc/http.html +++ b/doc/http.html @@ -188,7 +188,7 @@ function from automatically following 301 or 302 server redirect messages; In case of failure, the function returns nil followed by an error message. If successful, the simple form returns the response body as a string, followed by the response status code, the response -headers and the response status line. The complex function returns the same +headers and the response status line. The generic function returns the same information, except the first return value is just the number 1 (the body goes to the sink).

@@ -259,6 +259,14 @@ 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 +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 diff --git a/doc/index.html b/doc/index.html index f740d91..d5a1f30 100644 --- a/doc/index.html +++ b/doc/index.html @@ -78,7 +78,7 @@ LuaSocket.

-Copyright © 2004-2005 Diego Nehab. All rights reserved.
+Copyright © 2004-2006 Diego Nehab. All rights reserved.
Author: Diego Nehab

@@ -87,8 +87,8 @@ Author: Diego Nehab

Download

-LuaSocket version 2.0 (final) is now available for download! It is -compatible with Lua 5.0 and has been tested on +LuaSocket version 2.0.1 is now available for download! It is +compatible with Lua 5.0 and has been tested on Windows XP, Linux, and Mac OS X.

@@ -159,65 +159,24 @@ has been helping a lot too! Thanks to you all!

What's New

-There is no big change for the 2.0 (final) release. It is basically a -bug fix release. The only improvement is in the non-blocking -support. +This is just a bug-fix/update release.

- - - -

Incompatibilities with previous versions

- - diff --git a/doc/installation.html b/doc/installation.html index fa1d96f..725db42 100644 --- a/doc/installation.html +++ b/doc/installation.html @@ -39,7 +39,7 @@ Installation">

Installation

-

LuaSocket 2.0 uses the new package proposal for Lua 5.1. +

LuaSocket 2.0.1 uses the new package proposal for Lua 5.1. All Lua library developers are encouraged to update their libraries so that all libraries can coexist peacefully and users can benefit from the standardization and flexibility of the standard. @@ -123,7 +123,7 @@ it should be easy to use LuaSocket. Just fire the interpreter and use the Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio > socket = require("socket") > print(socket._VERSION) ---> LuaSocket 2.0 +--> LuaSocket 2.0.1

Each module loads their dependencies automatically, so you only need to -- cgit v1.2.3-55-g6feb