https://bz.apache.org/bugzilla/show_bug.cgi?id=61217

Mark Thomas <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Mark Thomas <[email protected]> ---
When the response is flushed, the HTTP headers are written to the client. At
that point, if a content-length is set, that content-length is fixed.

If you don't want this behaviour, wrap the response and prevent the application
setting the content-length header. This will cause a switch to chunked
encoding.

Note that the only spec compliant way to modify the output is to wrap the
response and handle all the changes in the wrapped response. This can get quite
tricky, quite quickly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to