aboutsummaryrefslogtreecommitdiffstats
path: root/net/http.lua
Commit message (Collapse)AuthorAgeFilesLines
* net.http: destroy_request(): Remove update for new server API, pass ↵Matthew Wild2010-02-191-2/+3
| | | | request.handler instead of request.conn to ondisconnect
* net.http: Close connection when invalid status line is received from the serverMatthew Wild2010-02-191-1/+4
|
* net.http: Don't re-destroy a request when the connection is closedMatthew Wild2010-02-191-0/+1
|
* net.http: Port commit 2f235c57d713 to net.http to fix headers in responses ↵Matthew Wild2010-02-191-5/+14
| | | | (thanks dersd)
* net.http: Don't expect the body on redirectsMatthew Wild2009-12-101-1/+1
|
* net.httpserver, net.http: Update for new net.server API (untested)Matthew Wild2009-11-221-2/+2
|
* Add copyright header to those files missing oneMatthew Wild2009-07-101-0/+8
|
* net.http: (Re-)add url[en|de]code functionsMatthew Wild2009-06-121-4/+5
|
* Merge with 0.4Matthew Wild2009-05-041-1/+0
|\
| * net.http, net.httpserver: Remove urlcodes table... it really isn't needed ↵Matthew Wild2009-05-041-1/+0
| | | | | | | | (thanks Jan Harkes)
* | net.http: Fix potential nil accessMatthew Wild2009-04-221-2/+2
|/
* Fixed: net/http.lua: HTTP request callback wasn't being called on some errorsWaqas Hussain2009-03-301-0/+1
|
* net.http: Don't throw error on invalid URLs. Fixes #56.Matthew Wild2009-03-211-0/+9
|
* Port to new server.lua, quite some changes, but I believe everything to be ↵Matthew Wild2009-01-171-1/+1
| | | | working
* net.http: custom_headers -> headersMatthew Wild2009-01-161-1/+1
|
* net.http: Don't log content from serverMatthew Wild2009-01-151-1/+1
|
* net.http: Fix to send query part of URL to serverMatthew Wild2009-01-151-1/+8
|
* net.http: Fix for callbacks being triggered multiple times for the same requestMatthew Wild2009-01-141-1/+3
|
* Protected call for HTTP request callbacks, to catch errorsMatthew Wild2009-01-081-3/+7
|
* Fix to prevent calling HTTP request callback twice with the same dataMatthew Wild2009-01-081-2/+7
|
* HTTP requests now have status code as a number instead of a string. Switched ↵Matthew Wild2008-12-251-7/+8
| | | | parameters on both http.request() and the callback to better match LuaSocket's http module
* Fix nil status code for http request callbacksMatthew Wild2008-12-221-1/+1
|
* Fixed URL encoding to generate %0x instead of %xWaqas Hussain2008-12-161-1/+1
|
* Oops, don't call server.loop() because we'll be running inside the serverMatthew Wild2008-12-121-2/+1
|
* Pass HTTP request object to callbackMatthew Wild2008-12-121-5/+5
|
* HTTP request callbacks now: handler(code, content) (where code may be 0, and ↵Matthew Wild2008-12-121-5/+5
| | | | content an error message)
* Non-blocking HTTP requests (adding net.http)Matthew Wild2008-12-121-0/+173