Closed
Description
It would be quite nice to have abbility to send arbitrary HTTP reply code from within called LUA procedure.
In particular, it will make possible to utilize http://nginx.org/en/docs/http/ngx_http_auth_request_module.html for access control, based on result of LUA function invocation.
AFAICS, we could control only reply body so far.
If this feature already available, would be good to see example in readme.