HTTP Library for Lua. Supports HTTP(S) 1.0, 1.1 and 2.0; client and server.
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Can be found at https://daurnimator.github.io/lua-http/
It's recommended to install lua-http by using luarocks. This will automatically install run-time lua dependencies for you.
$ luarocks install http
To use gzip compression you need one of:
To check cookies against a public suffix list:
If using lua < 5.3 you will need
If using lua 5.1 you will need
Clone the repo:
$ git clone https://github.com/daurnimator/lua-http.git $ cd lua-http
$ luarocks install --only-deps http-scm-0.rockspec
Lint the code (check for common programming errors)
$ luacheck .
Run tests and view coverage report (install tools first)
$ busted -c $ luacov && less luacov.report.out
Install your local copy:
$ luarocks make http-scm-0.rockspec
Documentation is written in markdown and intended to be consumed by pandoc. See the
doc/directory for more information.