aboutsummaryrefslogtreecommitdiffstats
path: root/net/http.lua
Commit message (Collapse)AuthorAgeFilesLines
* net.http: Support for k->v maps in http.formencodeMatthew Wild2011-08-201-2/+8
|
* net.http, httpclient_listener: Move request sending from net.http to ↵Matthew Wild2011-08-201-38/+21
| | | | onconnect() handler, and add support for HTTPS requests to net.http
* net.http: Whitespace fixesMatthew Wild2011-08-201-4/+8
|
* net.http: Small fix to prevent traceback when connection fails before ↵Matthew Wild2011-08-201-0/+1
| | | | sending the request
* net.http: Add formdecode to decode an urlencoded formMatthew Wild2011-08-101-0/+13
|
* net.http: Removed old HTTP parser, and updated to use util.httpstream.Waqas Hussain2010-11-061-91/+14
|
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-161-5/+5
|
* net.http: Add http.formencode() for www-form-urlencoded from an array of ↵Matthew Wild2010-08-271-2/+20
| | | | fields (thanks dersd)
* Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
| * net.http: destroy_request(): Pass request.handler to disconnect() listener ↵Matthew Wild2010-03-031-1/+1
| | | | | | | | to fix small leak
| * 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.http: Update print()s to log()s - don't ask how this came to be, I have ↵Matthew Wild2010-02-191-8/+7
| | | | | | | | no idea :)
* | 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