Re: [users@httpd] Apache HTTPD: Read POST request body and set response header

2020-05-11 Thread harshil fadia
@httpd.apache.org Subject: [users@httpd] Apache HTTPD: Read POST request body and set response header   How do I implement below requirement? Please help..   Read POST request body >> Take out some data from request body >> Set particular response header attribute based on reque

RE: [users@httpd] Apache HTTPD: Read POST request body and set response header

2020-05-11 Thread Antony G
*/ NULL, regiter_hooks /*Our hook registering function */ }; static void register_hooks(apr_pool_t *pool) Regards From: harshil fadia Sent: Monday, May 11, 2020 8:30 PM To: users@httpd.apache.org Subject: [users@httpd] Apache HTTPD: Read POST request body and set response header

Re: [users@httpd] Apache HTTPD: Read POST request body and set response header

2020-05-11 Thread Eric Covener
I don't think you want to replace the handler. I suggest reading how mod_auth_form uses mod_request to do similar stuff w/ the body before the handler sees it. On Mon, May 11, 2020 at 1:30 PM harshil fadia wrote: > > How do I implement below requirement? Please help.. > > Read POST request body

[users@httpd] Apache HTTPD: Read POST request body and set response header

2020-05-11 Thread harshil fadia
How do I implement below requirement? Please help.. Read POST request body >> Take out some data from request body >> Set particular response header attribute based on request attribute >> Send response back to client What I have tried to do so far is wrote Apache module in C, read the Post bod