net/http.lua
Sat, 11 Nov 2023 23:48:45 +0100 Kim Alvefur net.http: Set Connection header based on connection pool usage
Sat, 11 Nov 2023 23:08:34 +0100 Kim Alvefur net.http: Add simple connection pooling
Fri, 17 Mar 2023 16:23:12 +0100 Kim Alvefur net: Prefix module imports with prosody namespace
Thu, 09 Feb 2023 22:37:54 +0000 Matthew Wild net.http: Add missing log parameter 0.12
Sat, 05 Feb 2022 01:32:08 +0100 Kim Alvefur net.http: Allow using DANE via options or per request settings
Sun, 29 Aug 2021 15:04:47 +0200 Jonas Schäfer net.http: fail open if surrounding code does not configure TLS
Thu, 08 Jul 2021 18:21:59 +0200 Kim Alvefur net.http: Send entire HTTP request header as one write
Wed, 09 Dec 2020 13:54:21 +0000 Matthew Wild net.http: track time of request for debug/stats purposes
Wed, 21 Oct 2020 10:40:11 +0100 Matthew Wild net.http: Add support for streaming chunked/large responses
Tue, 15 Sep 2020 09:09:06 +0100 Matthew Wild Merge 0.11->trunk
Tue, 15 Sep 2020 09:08:21 +0100 Matthew Wild net.http: Add feature discovery (currently just contains SNI) 0.11
Mon, 17 Aug 2020 23:01:14 +0200 Kim Alvefur net.server: Backport client parts of SNI support from trunk (#409) 0.11
Tue, 25 Aug 2020 15:59:04 +0100 Matthew Wild net.http: http.request() promise now resolves with response (breaking change)
Tue, 25 Aug 2020 15:57:39 +0100 Matthew Wild net.http: use new net.http.errors lib for creating error object
Sat, 08 Aug 2020 13:14:11 +0100 Matthew Wild Merge 0.11->trunk
Sat, 08 Aug 2020 13:13:50 +0100 Matthew Wild net.http: Add request:cancel() method 0.11
Sat, 08 Aug 2020 13:11:11 +0100 Matthew Wild net.http: Re-expose destroy_request() function 0.11
Tue, 07 Jul 2020 13:52:45 +0100 Matthew Wild Merge 0.11->trunk
Tue, 07 Jul 2020 13:52:25 +0100 Matthew Wild net.http: Fix traceback on invalid URL passed to request() 0.11
Wed, 06 May 2020 18:03:20 +0200 Kim Alvefur net.http: Return a Promise if no callback is given
Fri, 29 Nov 2019 23:25:59 +0100 Kim Alvefur net.http: Set ALPN on requests
Sun, 01 Sep 2019 02:05:33 +0200 Kim Alvefur net.http: Pass server name along for SNI (fixes #1408)
Tue, 30 Jul 2019 02:35:17 +0200 Kim Alvefur net.*: Remove tostring call from logging
Fri, 09 Nov 2018 15:59:32 +0100 Kim Alvefur net.http: Manually merge settings (fixes #1231) 0.11
Fri, 26 Oct 2018 19:32:00 +0100 Matthew Wild Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall
Fri, 06 Apr 2018 01:43:44 +0200 Kim Alvefur Merge 0.10->trunk
Fri, 06 Apr 2018 01:42:35 +0200 Kim Alvefur net.http: Import setmetatable into local scope (fixes #1125)
Wed, 04 Apr 2018 18:42:05 +0100 Matthew Wild Merge 0.10 -> trunk
Wed, 04 Apr 2018 18:27:44 +0100 Matthew Wild net.http: Fix parameter order to http request callbacks
Sat, 24 Mar 2018 11:29:33 +0000 Matthew Wild net.http: Allow enabling/disabling error suppression, useful for tests
Sat, 24 Mar 2018 11:29:04 +0000 Matthew Wild net.http: Fix for Lua 5.2: return error from error handler (xpcall changed)
Wed, 28 Feb 2018 20:06:26 +0100 Kim Alvefur vairious: Add annotation when an empty environment is set [luacheck]
Mon, 26 Feb 2018 15:27:00 +0000 Matthew Wild net.http: Refactor to use new net.connect API, brings support for async DNS
Fri, 23 Feb 2018 16:21:40 +0000 Matthew Wild net.http: Rename handler to conn, for consistency with all our other code
Fri, 23 Feb 2018 16:20:45 +0000 Matthew Wild net.http: Remove use of 'conn' (raw socket object returned by addclient)
Mon, 28 Aug 2017 21:05:12 +0200 Kim Alvefur Merge 0.10->trunk
Fri, 07 Jul 2017 21:04:46 +0200 Kim Alvefur net.http: Add option for disabling TLS certifictate validation
Fri, 07 Jul 2017 21:04:30 +0200 Kim Alvefur net.http: Validate HTTPS certificates (fixes #659)
Fri, 07 Jul 2017 20:31:52 +0200 Kim Alvefur net.http: Move default SSL/TLS settings into options, allowing them to be overriden in new()
Fri, 07 Jul 2017 20:30:52 +0200 Kim Alvefur net.http: Expose defaults
Fri, 07 Jul 2017 20:16:00 +0200 Kim Alvefur net.http: Remove duplicate 'request' entry
Mon, 24 Apr 2017 14:19:49 +0200 Kim Alvefur Merge 0.10->trunk
Fri, 21 Apr 2017 16:42:25 +0100 Matthew Wild net.http: Add request.url, which is the original full URL as a string
Fri, 21 Apr 2017 16:42:06 +0100 Matthew Wild net.http: Fire new events: pre-request, request-connection-error, request, response
Fri, 21 Apr 2017 16:41:27 +0100 Matthew Wild net.http: Allow creation of http client objects, with custom options
Sun, 02 Apr 2017 00:24:37 +0200 Kim Alvefur Merge 0.10->trunk
Sun, 02 Apr 2017 00:24:07 +0200 Kim Alvefur net.http: Pass error all the way to callback
Sun, 01 Jan 2017 19:35:06 +0100 Kim Alvefur Merge 0.10->trunk
Fri, 30 Dec 2016 18:25:36 +0100 Kim Alvefur net.http: Strip trailing whitespace
Fri, 30 Dec 2016 18:25:23 +0100 Kim Alvefur net.http: Remove unused imports [luacheck]
Wed, 27 Jul 2016 14:08:32 +0100 Matthew Wild Merge 0.10 -> trunk
Wed, 27 Jul 2016 13:40:45 +0100 Matthew Wild net.http: Add quotes around ids in log messages
Thu, 07 Jul 2016 23:12:25 +0100 Matthew Wild Merge 0.10->trunk
Thu, 07 Jul 2016 23:08:47 +0100 Matthew Wild net.http: Add log messages for requests, including their id (so "calling callback" and tracebacks can be traced back to their initial request)
Thu, 07 Jul 2016 23:07:19 +0100 Matthew Wild net.http: Add request.id to every request object (can be overridden by providing ex.id)
Fri, 04 Sep 2015 11:11:40 +0100 Matthew Wild Merge 0.10->trunk
Wed, 18 Dec 2013 19:00:24 -0500 daurnimator net/http: Use server.addclient
Thu, 20 Aug 2015 13:05:22 +0200 Kim Alvefur Merge 0.10->trunk
Sat, 21 Feb 2015 10:45:24 +0100 Kim Alvefur net.*: Remove use of module() function
Sun, 26 Oct 2014 20:58:02 +0100 Kim Alvefur Merge 0.10->trunk
Sun, 26 Oct 2014 20:57:06 +0100 Kim Alvefur Merge 0.9->0.10
Tue, 14 Oct 2014 18:55:08 +0100 Matthew Wild certmanager, net.http: Disable SSLv3 by default 0.9.6
Tue, 02 Sep 2014 22:34:32 +0200 Kim Alvefur Merge 0.10->trunk
Tue, 02 Sep 2014 22:33:11 +0200 Kim Alvefur Merge 0.9->0.10
Fri, 29 Aug 2014 11:54:34 +0100 Matthew Wild net.http, net.http.server, mod_c2s, mod_s2s, mod_component, mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent)
Wed, 18 Dec 2013 19:00:24 -0500 daurnimator net/http: Use server.addclient
Mon, 16 Dec 2013 23:32:11 +0000 Matthew Wild Merge 0.9->0.10
Mon, 16 Dec 2013 23:24:16 +0000 Matthew Wild net.http: assert() for socket creation success so it doesn't silently fail (thanks daurnimator)
Fri, 09 Aug 2013 17:48:21 +0200 Florian Zeitz Remove all trailing whitespace
Wed, 26 Jun 2013 21:40:01 +0100 Matthew Wild net.http: Include port number (when non-standard) in the Host header of outgoing requests, as per the HTTP RFC
Mon, 22 Apr 2013 12:35:52 +0100 Matthew Wild mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit traceback function), to make it clearer where an error occured
Thu, 18 Apr 2013 00:08:58 +0100 Matthew Wild net.http: When HTTP request fails due to a network or SSL error, call the callback to let it know
Fri, 12 Apr 2013 00:31:05 +0100 Matthew Wild net.http: Swap response and request parameters passed to callback (will break some modules)
Thu, 11 Apr 2013 20:24:37 +0100 Matthew Wild net.http: Switch from util.httpstream to net.http.parser, introduces small but backwards-incompatible API changes - see http://prosody.im/doc/developers/http
Thu, 11 Apr 2013 17:32:59 +0100 Matthew Wild net.http, util.http: Move definitions of urlencode/decode and formencode/decode to util.http (possible to use them without unnecessary network-related dependencies)
Mon, 08 Apr 2013 16:40:27 +0100 Matthew Wild net.http: Throw error when connecting to a http:// URL without LuaSec available
Wed, 20 Mar 2013 20:31:52 +0000 Matthew Wild net.http: Disable SSLv2 support for HTTPS connections
Wed, 20 Mar 2013 20:31:02 +0000 Matthew Wild net.http: Allow passing an SSL context or options table to be used for HTTPS requests (thanks daurnimator)
Sun, 22 Jul 2012 18:47:40 +0100 Matthew Wild Merge with Zash
Sat, 07 Jul 2012 23:22:15 +0200 Kim Alvefur net.http: Use base64 from util.encodings instead of luasocket
Sun, 22 Jul 2012 16:54:58 +0100 Matthew Wild net.http: Don't call ondisconnect manually, net.server now calls it on close
Sat, 12 May 2012 02:50:38 +0100 Matthew Wild net.http: Fix urlencode to not encode unreserved characters, so I can guiltlessly rant about people who do.
Mon, 23 Jan 2012 17:19:16 +0000 Matthew Wild net.http, httpclient_listener: Merge listener into net.http
Tue, 17 Jan 2012 00:30:52 +0000 Matthew Wild net.http: Pass response object to callbacks (feels hacky, should this be passed *instead of* the request?)
Wed, 31 Aug 2011 23:25:04 +0500 Waqas Hussain net.http: Remove extra space after method in request status line for POST.
Mon, 22 Aug 2011 12:57:52 -0400 Matthew Wild net.http: Convert port to a number (for custom port in URL)
Sat, 20 Aug 2011 16:51:47 -0400 Matthew Wild net.http: Support for k->v maps in http.formencode
Sat, 20 Aug 2011 15:10:04 -0400 Matthew Wild net.http, httpclient_listener: Move request sending from net.http to onconnect() handler, and add support for HTTPS requests to net.http
Sat, 20 Aug 2011 15:08:54 -0400 Matthew Wild net.http: Whitespace fixes
Sat, 20 Aug 2011 15:08:21 -0400 Matthew Wild net.http: Small fix to prevent traceback when connection fails before sending the request
Wed, 10 Aug 2011 17:49:10 -0400 Matthew Wild net.http: Add formdecode to decode an urlencoded form
Sat, 06 Nov 2010 03:46:00 +0500 Waqas Hussain net.http: Removed old HTTP parser, and updated to use util.httpstream.
Sat, 16 Oct 2010 23:00:42 +0500 Waqas Hussain Monster whitespace commit (beware the whitespace monster).
Fri, 27 Aug 2010 18:33:45 +0100 Matthew Wild net.http: Add http.formencode() for www-form-urlencoded from an array of fields (thanks dersd)
Mon, 22 Mar 2010 17:24:55 +0000 Matthew Wild Merge 0.6->0.7
Mon, 22 Mar 2010 17:06:15 +0000 Matthew Wild Update copyright headers for 2010
Wed, 03 Mar 2010 20:52:30 +0000 Matthew Wild net.http: destroy_request(): Pass request.handler to disconnect() listener to fix small leak
Fri, 19 Feb 2010 03:21:50 +0000 Matthew Wild net.http: Close connection when invalid status line is received from the server
Fri, 19 Feb 2010 03:21:20 +0000 Matthew Wild net.http: Don't re-destroy a request when the connection is closed
Fri, 19 Feb 2010 02:58:34 +0000 Matthew Wild net.http: Port commit 2f235c57d713 to net.http to fix headers in responses (thanks dersd)
Thu, 10 Dec 2009 22:13:04 +0000 Matthew Wild net.http: Don't expect the body on redirects
Fri, 19 Feb 2010 03:27:18 +0000 Matthew Wild net.http: Update print()s to log()s - don't ask how this came to be, I have no idea :)
Fri, 19 Feb 2010 03:22:42 +0000 Matthew Wild net.http: destroy_request(): Remove update for new server API, pass request.handler instead of request.conn to ondisconnect
Fri, 19 Feb 2010 03:21:50 +0000 Matthew Wild net.http: Close connection when invalid status line is received from the server
Fri, 19 Feb 2010 03:21:20 +0000 Matthew Wild net.http: Don't re-destroy a request when the connection is closed
Fri, 19 Feb 2010 02:58:34 +0000 Matthew Wild net.http: Port commit 2f235c57d713 to net.http to fix headers in responses (thanks dersd)
Thu, 10 Dec 2009 22:13:04 +0000 Matthew Wild net.http: Don't expect the body on redirects
Sun, 22 Nov 2009 04:44:26 +0000 Matthew Wild net.httpserver, net.http: Update for new net.server API (untested)
Fri, 10 Jul 2009 03:08:38 +0100 Matthew Wild Add copyright header to those files missing one
Fri, 12 Jun 2009 11:21:11 +0100 Matthew Wild net.http: (Re-)add url[en|de]code functions
Mon, 04 May 2009 19:57:05 +0100 Matthew Wild Merge with 0.4
Mon, 04 May 2009 19:53:31 +0100 Matthew Wild net.http, net.httpserver: Remove urlcodes table... it really isn't needed (thanks Jan Harkes)
Wed, 22 Apr 2009 20:29:35 +0100 Matthew Wild net.http: Fix potential nil access
Mon, 30 Mar 2009 01:55:56 +0500 Waqas Hussain Fixed: net/http.lua: HTTP request callback wasn't being called on some errors
Sat, 21 Mar 2009 23:48:09 +0000 Matthew Wild net.http: Don't throw error on invalid URLs. Fixes #56.
Sat, 17 Jan 2009 04:45:08 +0000 Matthew Wild Port to new server.lua, quite some changes, but I believe everything to be working
Fri, 16 Jan 2009 23:34:45 +0000 Matthew Wild net.http: custom_headers -> headers
Thu, 15 Jan 2009 04:10:06 +0000 Matthew Wild net.http: Don't log content from server
Thu, 15 Jan 2009 04:08:06 +0000 Matthew Wild net.http: Fix to send query part of URL to server
Wed, 14 Jan 2009 03:06:26 +0000 Matthew Wild net.http: Fix for callbacks being triggered multiple times for the same request
less more (0) -120 tip