Modify the body of a post request Multipar/form-data?

2010-06-10 Thread Eddy
Hi, I have a Firefox module that encrypts the body content for a POST and GET request. The apache module must decrypt the content and send a crypted reply to the client. So, in my apache module, i have a filter to modify the body. For a POST x-www-form-urlencoded, the content is decrypt but in

Re: Modify the body of a post request Multipar/form-data?

2010-06-10 Thread Nick Kew
On 10 Jun 2010, at 07:34, Eddy wrote: How modify (decrypt data) the body content before all module ? That's what filters do. See mod_ssl for secure encryption. Or in your case since it's only the body content, see for example mod_deflate for a comparable task. -- Nick Kew

Re: Modify the body of a post request Multipar/form-data?

2010-06-10 Thread Eddy
For illustrate my problem : I have register a filter like in deflate : ap_register_input_filter(PerseusFilterName,perseus_in_filter, NULL, AP_FTYPE_CONTENT_SET); In httpd.conf : SetInputFilter PERSEUS So, I test with a crypted content and i hae in error.log : Perseus handler, Perseus header