-
Feature Request
-
Resolution: Done
-
Minor
-
None
-
None
-
None
In porting TorqueBox to run on top of Undertow instead of JBossWeb, I'm reminded of a piece of code we have to strip chunk markers and the Transfer-Encoding header set by Ruby so that the container can then handle chunking the response. Otherwise, the response will potentially get double-chunked.
It would be nice if Undertow could detect that the response was already chunked, perhaps just by the presence of the Transfer-Encoding header with a value of 'chunked', so that I didn't have to dechunk the response just to chunk it again.
Stuart mentioned this would be useful for Undertow's reverse proxy as well, since it also has to dechunk and rechunk.