Log

net/http.lua @ 5705:6eebd5808fbc

description author age
mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit traceback function), to make it clearer where an error occured Matthew Wild 2013-04-22
net.http: When HTTP request fails due to a network or SSL error, call the callback to let it know Matthew Wild 2013-04-17
net.http: Swap response and request parameters passed to callback (will break some modules) Matthew Wild 2013-04-11
net.http: Switch from util.httpstream to net.http.parser, introduces small but backwards-incompatible API changes - see http://prosody.im/doc/developers/http Matthew Wild 2013-04-11
net.http, util.http: Move definitions of urlencode/decode and formencode/decode to util.http (possible to use them without unnecessary network-related dependencies) Matthew Wild 2013-04-11
net.http: Throw error when connecting to a http:// URL without LuaSec available Matthew Wild 2013-04-08
net.http: Disable SSLv2 support for HTTPS connections Matthew Wild 2013-03-20
net.http: Allow passing an SSL context or options table to be used for HTTPS requests (thanks daurnimator) Matthew Wild 2013-03-20
Merge with Zash Matthew Wild 2012-07-22
net.http: Use base64 from util.encodings instead of luasocket Kim Alvefur 2012-07-07
net.http: Don't call ondisconnect manually, net.server now calls it on close Matthew Wild 2012-07-22
net.http: Fix urlencode to not encode unreserved characters, so I can guiltlessly rant about people who do. Matthew Wild 2012-05-12
net.http, httpclient_listener: Merge listener into net.http Matthew Wild 2012-01-23
net.http: Pass response object to callbacks (feels hacky, should this be passed *instead of* the request?) Matthew Wild 2012-01-17
net.http: Remove extra space after method in request status line for POST. Waqas Hussain 2011-08-31
net.http: Convert port to a number (for custom port in URL) Matthew Wild 2011-08-22
net.http: Support for k->v maps in http.formencode Matthew Wild 2011-08-20
net.http, httpclient_listener: Move request sending from net.http to onconnect() handler, and add support for HTTPS requests to net.http Matthew Wild 2011-08-20
net.http: Whitespace fixes Matthew Wild 2011-08-20
net.http: Small fix to prevent traceback when connection fails before sending the request Matthew Wild 2011-08-20
net.http: Add formdecode to decode an urlencoded form Matthew Wild 2011-08-10
net.http: Removed old HTTP parser, and updated to use util.httpstream. Waqas Hussain 2010-11-05
Monster whitespace commit (beware the whitespace monster). Waqas Hussain 2010-10-16
net.http: Add http.formencode() for www-form-urlencoded from an array of fields (thanks dersd) Matthew Wild 2010-08-27
Merge 0.6->0.7 Matthew Wild 2010-03-22
Update copyright headers for 2010 Matthew Wild 2010-03-22
net.http: destroy_request(): Pass request.handler to disconnect() listener to fix small leak Matthew Wild 2010-03-03
net.http: Close connection when invalid status line is received from the server Matthew Wild 2010-02-19
net.http: Don't re-destroy a request when the connection is closed Matthew Wild 2010-02-19
net.http: Port commit 2f235c57d713 to net.http to fix headers in responses (thanks dersd) Matthew Wild 2010-02-19
net.http: Don't expect the body on redirects Matthew Wild 2009-12-10
net.http: Update print()s to log()s - don't ask how this came to be, I have no idea :) Matthew Wild 2010-02-19
net.http: destroy_request(): Remove update for new server API, pass request.handler instead of request.conn to ondisconnect Matthew Wild 2010-02-19
net.http: Close connection when invalid status line is received from the server Matthew Wild 2010-02-19
net.http: Don't re-destroy a request when the connection is closed Matthew Wild 2010-02-19
net.http: Port commit 2f235c57d713 to net.http to fix headers in responses (thanks dersd) Matthew Wild 2010-02-19
net.http: Don't expect the body on redirects Matthew Wild 2009-12-10
net.httpserver, net.http: Update for new net.server API (untested) Matthew Wild 2009-11-22
Add copyright header to those files missing one Matthew Wild 2009-07-10
net.http: (Re-)add url[en|de]code functions Matthew Wild 2009-06-12
Merge with 0.4 Matthew Wild 2009-05-04
net.http, net.httpserver: Remove urlcodes table... it really isn't needed (thanks Jan Harkes) Matthew Wild 2009-05-04
net.http: Fix potential nil access Matthew Wild 2009-04-22
Fixed: net/http.lua: HTTP request callback wasn't being called on some errors Waqas Hussain 2009-03-29
net.http: Don't throw error on invalid URLs. Fixes #56. Matthew Wild 2009-03-21
Port to new server.lua, quite some changes, but I believe everything to be working Matthew Wild 2009-01-17
net.http: custom_headers -> headers Matthew Wild 2009-01-16
net.http: Don't log content from server Matthew Wild 2009-01-15
net.http: Fix to send query part of URL to server Matthew Wild 2009-01-15
net.http: Fix for callbacks being triggered multiple times for the same request Matthew Wild 2009-01-14
Protected call for HTTP request callbacks, to catch errors Matthew Wild 2009-01-08
Fix to prevent calling HTTP request callback twice with the same data Matthew Wild 2009-01-08
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 2008-12-25
Fix nil status code for http request callbacks Matthew Wild 2008-12-22
Fixed URL encoding to generate %0x instead of %x Waqas Hussain 2008-12-15
Oops, don't call server.loop() because we'll be running inside the server Matthew Wild 2008-12-12
Pass HTTP request object to callback Matthew Wild 2008-12-12
HTTP request callbacks now: handler(code, content) (where code may be 0, and content an error message) Matthew Wild 2008-12-12
Non-blocking HTTP requests (adding net.http) Matthew Wild 2008-12-12