Features an HTTP 1.0 and 1.1 streaming interface to reading bodies using coroutines, for predictable memory usage in Lua land. Alternative simple interface for singleshot requests without manual connection step. Supports chunked transfer encoding, keepalive, pipelining, and trailers. Headers are treated case insensitively. Probably production ready in most cases, though not yet proven in the wild. Recommended by the OpenResty maintainer as a long-term replacement for internal requests through ngx.location.capture.
Versions
Dependencies
lua >= 5.1