[ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

agentzh agentzh at gmail.com
Wed Mar 16 10:36:50 MSK 2011

On Wed, Mar 16, 2011 at 3:22 PM, Alexander Kunz <akunz at ntmedia.de> wrote:
> Thanks so much for your detailed answer. Works like a charm :)

Cool :)

> But i see i can't access this from LUA?

No :)

> but is it possible to get
> echo_request_body
> directly in nginx LUA?

It indeed can be ported from ngx_echo to ngx_lua. Patches welcome :)

For now you can just read your disk files directly from within Lua. See


It may be less efficient, depending on the size of your disk files.
But generally, it can not be too slow.

No request body hassle is really needed here, I think ;)


More information about the nginx mailing list