mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-25 12:08:21 +01:00
Network support for the Lua language
2a76cb906c
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. |
||
---|---|---|
.github/workflows | ||
doc | ||
etc | ||
gem | ||
rockspecs | ||
samples | ||
src | ||
test | ||
.editorconfig | ||
.gitignore | ||
.luacheckrc | ||
.travis.yml | ||
FIX | ||
LICENSE | ||
linux.cmd | ||
logo.ps | ||
ltn012.wiki | ||
ltn013.wiki | ||
Lua.props | ||
luasocket-scm-3.rockspec | ||
luasocket.sln | ||
macosx.cmd | ||
makefile | ||
makefile.dist | ||
mime.vcxproj | ||
mingw.cmd | ||
NEW | ||
README | ||
socket.vcxproj | ||
TODO | ||
vc32.bat | ||
vc64.bat | ||
win32.cmd | ||
win64.cmd | ||
WISH |
This is the LuaSocket 3.0-rc1. It has been tested on Windows 7, Mac OS X, and Linux. Please use the project page at GitHub https://github.com/diegonehab/luasocket to file bug reports or propose changes. Have fun, Diego Nehab.