Re: Change the content-length header for other filters

2016-12-22 Thread Andre Rothe
Hello, I've got the source code of mod_WebObjects, which is the destination module of the request. It registers a handler to process the incoming requests like ap_hook_handler(WebObjects_handler, NULL, NULL, APR_HOOK_MIDDLE); As I understand the Apache request processing, in this case the

Re: Change the content-length header for other filters

2016-12-22 Thread Eric Covener
On Thu, Dec 22, 2016 at 8:37 AM, Andre Rothe wrote: > I don't know, how mod_webobjects will read the request content, > but it seems, that my changes on the request are not transparent. > It is not a problem of the transmitted data, it is a length problem > (if I

Re: Change the content-length header for other filters

2016-12-22 Thread Andre Rothe
Hi, I use mod_ext_filter, which I have modified for my use case. The input filter part reads now till the EOS over multiple chunks into a brigade, which is then propagated to an external filter (PHP script). The script returns the modified POST parameters, which contain less bytes then the