On Tue, Nov 29, 2022 at 10:45 AM bruno.mendoza <bruno.mend...@ikeasi.com> wrote:
>
>
> Hi,
>
> I trying to read every HTTP request message body (Apache httpd
> 2.4.5/Debian 9.5) where content type is equal to 'text/xml'. For this
> purpose I use a Lua handler script during the request translation phase
> using the directive 'LuaHookTranslateName'
> (https://publib.boulder.ibm.com/httpserv/manual24/mod/mod_lua.html#luahooktranslatename).
>
> This Lua handler script uses the function 'r:requestbody()' defined in
> the reference manual section 'Built in function'
> (https://publib.boulder.ibm.com/httpserv/manual24/mod/mod_lua.html#functions).
> This method reads and returns the body of the HTTP request but it also
> REMOVES the body of the request.
>
> Is this bug reported?

Give https://httpd.apache.org/docs/current/mod/mod_request.html a try,
it is a way to opt-in to buffering the request body so it can be read
multiple times.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to