aboutsummaryrefslogtreecommitdiff
path: root/src/http.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* chore(http): Correct typos in error message and code comments (#423)Alexandre Detiste2024-02-121-3/+3
|
* fix(http): Use the right protocol for proxies (#386)Max1Truc2023-11-231-3/+8
|
* fix(http): Correct receiveheaders() handling of folded values (#420)_AMD_2023-11-131-1/+1
|
* fix(http): Allow relative redirect on https (#395)Henri D2022-10-081-2/+3
| | | Location header can now be relative: https://httpwg.org/specs/rfc9110.html#field.location
* http.lua: set transfer-encoding if source and no content-lengthJulian Squires2022-03-221-0/+7
| | | | | | | | | | | | | | If a source is specified without a content-length header, LuaSocket sends the data in the chunked transfer coding; however, it doesn't set the transfer-encoding header. While I recognize that the user can set this manually, this is a gotcha that has caught me multiple times. RFC7230, section 3.3.3 (https://tools.ietf.org/html/rfc7230#section-3.3.3) is clear about this; if neither content-length nor transfer-encoding chunked are specified, the request message body length is zero. While some servers may ignore this, I have encountered several that follow the RFC in this regard, most recently golang's net/http.
* refactor: Address issues raised by linterThijs Schreijer2022-03-191-7/+4
|
* bugfix: http.lua multischeme change that got dropped during PR conflict ↵E. Westbrook2019-02-281-4/+2
| | | | resolution
* http.lua: Error informatively if insufficient LuaSec supportE. Westbrook2019-02-241-1/+5
|
* socket.http.request(): simultaneous support for http and https URL schemes, ↵E. Westbrook2019-02-241-19/+37
| | | | with caller-adjustable scheme-to-transport mappings (default "socket.http" and "ssl.https")
* Merge pull request #246 from xyida/yodaDiego Nehab2019-02-241-2/+9
|\ | | | | Fixed an issue that was mistaken for HTTP 0.9 when timeout
| * Fixed an issue that was mistaken for HTTP 0.9 when timeoutxyida2018-04-261-2/+9
| |
* | Merge pull request #258 from ewestbrook/luasec117Diego Nehab2019-02-241-6/+14
|\ \ | | | | | | http.lua: if default for scheme, omit port number in "Host:" header
| * | http.lua: if default for scheme, omit port number in "Host:" headerE. Westbrook2019-02-201-6/+14
| |/
* / http.lua: allow override of hard-coded 5 max redirectsE. Westbrook2019-02-231-1/+4
|/
* URL-decode user password before adding to authorization header.Okash Khawaja2016-04-121-1/+2
|
* Family agostic FTP and expose HTTP/FTP url parsingDiego Nehab2016-03-071-4/+13
|
* Remove global PORT. Fix https redirect.Diego Nehab2016-03-041-17/+25
|
* Merge pull request #96 from chastabor/masterDiego Nehab2015-08-241-2/+11
|\ | | | | Generate headers before proxy changes host and port
| * Add proxy authentication headers if present.Charles Tabor2014-03-271-0/+9
| |
| * Generate headers before proxy changes host and portCharles Tabor2014-03-211-3/+3
| |
* | Fix Host: header according to RFC7230Diego Nehab2014-07-151-3/+2
|/
* include port in default Host headerPierre Chapuis2013-08-141-1/+3
| | | See RFC 2616 section 14.23.
* http: look for PROXY in _M, not as a globalPierre Chapuis2013-07-051-2/+2
|
* http: do not set global TIMEOUTPierre Chapuis2013-07-051-1/+1
|
* Build with Lua 5.2 without LUA_COMPAT_MODULE flag.moteus2013-05-271-12/+15
| | | | LUASOCKET_USE_GLOBAL flag enable create global variables when load socket/mime modules.
* Making progress toward a releaseDiego Nehab2012-04-231-1/+0
| | | | | | | | | | Documented headers.lua Update copyright date everywhere Remove RCSID from files Move version back to 2.1 rather than 2.1.1 Fixed url package to support ipv6 hosts Changed "domain" to "family" in tcp and udp structures Implemented getfamily methods
* Preliminary IPv6 support for v2.1Diego Nehab2012-04-111-1/+1
|
* Decent makefiles!Diego Nehab2009-05-271-4/+6
|
* New release.Diego Nehab2007-10-131-5/+23
|
* Couple bug fixes.Diego Nehab2007-03-121-2/+3
|
* http.request was using old host header during redirects.Diego Nehab2006-04-131-1/+1
|
* Stupid bug was reusing the nreqt.headers.host during redirect.Diego Nehab2006-04-121-10/+9
|
* Final patches...Diego Nehab2006-04-031-1/+1
|
* Updates for 2.0.1 on the way.Diego Nehab2006-03-191-1/+1
|
* Chose option 1) for http.lua.Diego Nehab2006-03-141-48/+21
| | | | Need to fix everything to make sure it works with the new compat-5.1
* Fixing bugs...Diego Nehab2006-03-131-18/+51
|
* Few tweaks in installation, some missing files, etc.Diego Nehab2005-11-221-16/+16
|
* Bugs sent by David.Diego Nehab2005-10-051-1/+0
|
* Compiled on Windows. Fixed a bunch of stuff. Almost ready to release.Diego Nehab2005-08-231-1/+0
| | | | | Implemented a nice dispatcher! Non-blocking check-links and forward server use the dispatcher.
* Final push for release...Diego Nehab2005-08-121-26/+19
|
* Using core.so instead of csocket.so and cmime.so.Diego Nehab2005-06-171-43/+55
|
* Working on the manual.Diego Nehab2005-06-141-2/+2
|
* Stupid bug in http.lua.Diego Nehab2005-06-121-4/+49
|
* Forward server works for multiple tunnels.Diego Nehab2005-03-101-7/+21
| | | | | Http.lua has been patched to support non-blocking everything. Makefile for linux has been updated with new names.
* Just to check out in the office.Diego Nehab2005-02-271-3/+5
|
* Almost ready to release beta3Diego Nehab2005-01-021-1/+1
|
* Last line of modules was simplified.Diego Nehab2004-12-231-1/+1
|
* Changes due to new compat-5.1Diego Nehab2004-12-231-2/+2
|
* Host is overridable.Diego Nehab2004-11-281-2/+1
|
* Almost ready for beta3Diego Nehab2004-11-271-9/+14
|