Content-Length header

2017-03-29 Thread Cédric Damioli
Hi, I recently noticed that, at least for 2.1.x and 2.2.x, after any request processing, Environment.commitResponse() is called which has the side effect to compute the actual response body size and then set the response content length. While this is perfectly fine for GET requests, it's

Re: Content-Length header

2017-03-29 Thread Peter Hunsberger
This sounds somewhat familiar, you may want to search the mailing list archives to see if this has been discussed before Can commitResponse tell what kind of request it is dealing with or if not can that be passed in so that it knows? Peter Hunsberger On Wed, Mar 29, 2017 at 10:14 AM, Cédric