Change the content-length header for other filters

2016-12-21 Thread André Rothe
Hi, I have a filter, which changes the content length of a POST request. There are some key-value-pairs of the request, which the filter removes before other filters process the request. But after my filter completes the request processing, I'll get: Sending error response: The request contained

Re: Change the content-length header for other filters

2016-12-21 Thread Sorin Manolache
On 2016-12-21 22:10, André Rothe wrote: Hi, I have a filter, which changes the content length of a POST request. There are some key-value-pairs of the request, which the filter removes before other filters process the request. But after my filter completes the request processing, I'll get: Sen

Re: Change the content-length header for other filters

2016-12-21 Thread Nick Kew
On Wed, 2016-12-21 at 22:10 +0100, André Rothe wrote: > But after my filter completes the request processing, I'll get: > > Sending error response: The request contained fewer content data than > specified by the content-length header Sorin's reply is part of the story, and may or may not be use

Re: Change the content-length header for other filters

2016-12-22 Thread Andre Rothe
(if I don't change the content length, the request will be processed). Thanks a lot André Von: Sorin Manolache An: Gesendet: 12/21/2016 10:52 PM Betreff: Re: Change the content-length header for other filters On 2016-12-21 22:10, André Rothe wrote: > Hi, > &

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 don't change the content length, t

Re: Change the content-length header for other filters

2016-12-22 Thread Andre Rothe
k Kew An: Gesendet: 12/22/2016 2:05 AM Betreff: Re: Change the content-length header for other filters On Wed, 2016-12-21 at 22:10 +0100, André Rothe wrote: > But after my filter completes the request processing, I'll get: > > Sending error response: The requ

Re: Change the content-length header for other filters

2017-01-12 Thread Andre Rothe
ange the content-length header for other filters 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,