uncompress handler and content-length

9 views
Skip to first unread message

Brad Wood

unread,
Jul 7, 2026, 4:40:30 PM (14 days ago) Jul 7
to Undertow Dev
I have a client complaining that when he uses the uncompress handler, the content-length header is removed completely and no chunked transfer encoding header is added, making the HTTP request invalid and some servlet apps will refuse to read the content body since there is no content-length or chunked encoding header.

This ticket, implies the issue to be fixe in both the 2.2.x and 2.3.x branches


However, in my local testing, I'm not seeing the fix.  A servlet app receives no content-length header and no chunked encoding header.   I tested on Undertow 2.3.21.Final and 2.2.39.Final.  Note, I'm not wiring up the RequestEncodingHandler handler manually, I'm just using the "uncompress" predicate language handler.

Am I missing something about how this fix is intended to work?  

Thanks!

~Brad

Brad Wood

unread,
Jul 16, 2026, 5:35:41 PM (5 days ago) Jul 16
to Undertow Dev
Any feedback here?  
Reply all
Reply to author
Forward
0 new messages