daurnimator / lua-http

HTTP Library for Lua. Supports HTTP(S) 1.0, 1.1 and 2.0; client and server.
https://daurnimator.github.io/lua-http/
MIT License
795 stars 81 forks source link

Add write_body_from_file options form #125

Closed daurnimator closed 6 years ago

daurnimator commented 6 years ago

The count argument is named after the sendfile() argument. In future the options supported should be ones that could be supported by a sendfile based implementation.

Closes #106

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-2.0%) to 84.821% when pulling 13800ed4776f8adcf8eeb9f714efc4afbd8149c4 on write_body_from_file-options into 4d2e78772a0e0edaa25f69e84257a7449792e420 on master.

cafehaine commented 6 years ago

LGTM :)