Log

net/http.lua @ 5448:cbe9fa2d3787

description author age
net.http: Throw error when connecting to a http:// URL without LuaSec available Matthew Wild Mon, 08 Apr 2013 16:40:27 +0100
net.http: Disable SSLv2 support for HTTPS connections Matthew Wild Wed, 20 Mar 2013 20:31:52 +0000
net.http: Allow passing an SSL context or options table to be used for HTTPS requests (thanks daurnimator) Matthew Wild Wed, 20 Mar 2013 20:31:02 +0000
Merge with Zash Matthew Wild Sun, 22 Jul 2012 18:47:40 +0100
net.http: Use base64 from util.encodings instead of luasocket Kim Alvefur Sat, 07 Jul 2012 23:22:15 +0200
net.http: Don't call ondisconnect manually, net.server now calls it on close Matthew Wild Sun, 22 Jul 2012 16:54:58 +0100
net.http: Fix urlencode to not encode unreserved characters, so I can guiltlessly rant about people who do. Matthew Wild Sat, 12 May 2012 02:50:38 +0100
net.http, httpclient_listener: Merge listener into net.http Matthew Wild Mon, 23 Jan 2012 17:19:16 +0000
net.http: Pass response object to callbacks (feels hacky, should this be passed *instead of* the request?) Matthew Wild Tue, 17 Jan 2012 00:30:52 +0000
net.http: Remove extra space after method in request status line for POST. Waqas Hussain Wed, 31 Aug 2011 23:25:04 +0500
net.http: Convert port to a number (for custom port in URL) Matthew Wild Mon, 22 Aug 2011 12:57:52 -0400
net.http: Support for k->v maps in http.formencode Matthew Wild Sat, 20 Aug 2011 16:51:47 -0400
net.http, httpclient_listener: Move request sending from net.http to onconnect() handler, and add support for HTTPS requests to net.http Matthew Wild Sat, 20 Aug 2011 15:10:04 -0400
net.http: Whitespace fixes Matthew Wild Sat, 20 Aug 2011 15:08:54 -0400
net.http: Small fix to prevent traceback when connection fails before sending the request Matthew Wild Sat, 20 Aug 2011 15:08:21 -0400
net.http: Add formdecode to decode an urlencoded form Matthew Wild Wed, 10 Aug 2011 17:49:10 -0400
net.http: Removed old HTTP parser, and updated to use util.httpstream. Waqas Hussain Sat, 06 Nov 2010 03:46:00 +0500
Monster whitespace commit (beware the whitespace monster). Waqas Hussain Sat, 16 Oct 2010 23:00:42 +0500
net.http: Add http.formencode() for www-form-urlencoded from an array of fields (thanks dersd) Matthew Wild Fri, 27 Aug 2010 18:33:45 +0100
Merge 0.6->0.7 Matthew Wild Mon, 22 Mar 2010 17:24:55 +0000
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
net.http: destroy_request(): Pass request.handler to disconnect() listener to fix small leak Matthew Wild Wed, 03 Mar 2010 20:52:30 +0000
net.http: Close connection when invalid status line is received from the server Matthew Wild Fri, 19 Feb 2010 03:21:50 +0000
net.http: Don't re-destroy a request when the connection is closed Matthew Wild Fri, 19 Feb 2010 03:21:20 +0000
net.http: Port commit 2f235c57d713 to net.http to fix headers in responses (thanks dersd) Matthew Wild Fri, 19 Feb 2010 02:58:34 +0000
net.http: Don't expect the body on redirects Matthew Wild Thu, 10 Dec 2009 22:13:04 +0000
net.http: Update print()s to log()s - don't ask how this came to be, I have no idea :) Matthew Wild Fri, 19 Feb 2010 03:27:18 +0000
net.http: destroy_request(): Remove update for new server API, pass request.handler instead of request.conn to ondisconnect Matthew Wild Fri, 19 Feb 2010 03:22:42 +0000
net.http: Close connection when invalid status line is received from the server Matthew Wild Fri, 19 Feb 2010 03:21:50 +0000
net.http: Don't re-destroy a request when the connection is closed Matthew Wild Fri, 19 Feb 2010 03:21:20 +0000
net.http: Port commit 2f235c57d713 to net.http to fix headers in responses (thanks dersd) Matthew Wild Fri, 19 Feb 2010 02:58:34 +0000
net.http: Don't expect the body on redirects Matthew Wild Thu, 10 Dec 2009 22:13:04 +0000
net.httpserver, net.http: Update for new net.server API (untested) Matthew Wild Sun, 22 Nov 2009 04:44:26 +0000
Add copyright header to those files missing one Matthew Wild Fri, 10 Jul 2009 03:08:38 +0100
net.http: (Re-)add url[en|de]code functions Matthew Wild Fri, 12 Jun 2009 11:21:11 +0100
Merge with 0.4 Matthew Wild Mon, 04 May 2009 19:57:05 +0100
net.http, net.httpserver: Remove urlcodes table... it really isn't needed (thanks Jan Harkes) Matthew Wild Mon, 04 May 2009 19:53:31 +0100
net.http: Fix potential nil access Matthew Wild Wed, 22 Apr 2009 20:29:35 +0100
Fixed: net/http.lua: HTTP request callback wasn't being called on some errors Waqas Hussain Mon, 30 Mar 2009 01:55:56 +0500
net.http: Don't throw error on invalid URLs. Fixes #56. Matthew Wild Sat, 21 Mar 2009 23:48:09 +0000
Port to new server.lua, quite some changes, but I believe everything to be working Matthew Wild Sat, 17 Jan 2009 04:45:08 +0000
net.http: custom_headers -> headers Matthew Wild Fri, 16 Jan 2009 23:34:45 +0000
net.http: Don't log content from server Matthew Wild Thu, 15 Jan 2009 04:10:06 +0000
net.http: Fix to send query part of URL to server Matthew Wild Thu, 15 Jan 2009 04:08:06 +0000
net.http: Fix for callbacks being triggered multiple times for the same request Matthew Wild Wed, 14 Jan 2009 03:06:26 +0000
Protected call for HTTP request callbacks, to catch errors Matthew Wild Thu, 08 Jan 2009 02:04:06 +0000
Fix to prevent calling HTTP request callback twice with the same data Matthew Wild Thu, 08 Jan 2009 02:02:35 +0000
HTTP requests now have status code as a number instead of a string. Switched parameters on both http.request() and the callback to better match LuaSocket's http module Matthew Wild Thu, 25 Dec 2008 03:05:06 +0000
Fix nil status code for http request callbacks Matthew Wild Mon, 22 Dec 2008 22:01:49 +0000
Fixed URL encoding to generate %0x instead of %x Waqas Hussain Tue, 16 Dec 2008 03:46:17 +0500
Oops, don't call server.loop() because we'll be running inside the server Matthew Wild Fri, 12 Dec 2008 04:38:22 +0000
Pass HTTP request object to callback Matthew Wild Fri, 12 Dec 2008 04:30:35 +0000
HTTP request callbacks now: handler(code, content) (where code may be 0, and content an error message) Matthew Wild Fri, 12 Dec 2008 04:16:35 +0000
Non-blocking HTTP requests (adding net.http) Matthew Wild Fri, 12 Dec 2008 04:06:15 +0000