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?
Does exist any other request body reading function alternative?
I couldn't find any alternative in the 'lua_module' reference
documentation.
Thanks,
Bruno.
--
bruno.mendoza@ikeasi.com
live:.cid.fcefe3e243ddd719
010000100110100101110100011000100110111101111000
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
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?
Does exist any other request body reading function alternative?
I couldn't find any alternative in the 'lua_module' reference
documentation.
Thanks,
Bruno.
--
bruno.mendoza@ikeasi.com
live:.cid.fcefe3e243ddd719
010000100110100101110100011000100110111101111000
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org