On Wed, Mar 16, 2011 at 3:22 PM, Alexander Kunz <akunz@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
http://www.lua.org/pil/21.2.html
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 ;)
Cheers,
-agentzh
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx