Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[#5892] Correct handle HttpMessage that is EOF terminated #5957
We need to ensure we not add the Transfer-Encoding header if the HttpMessage is EOF terminated.
Only add the Transfer-Encoding header if an Content-Length header is present.
Correctly handle HttpMessage that is EOF terminated.
In Play we use this for decoding gzip/deflate requests, but this wouldn't impact there since request bodies can't be EOF terminated - I guess it only impacts http clients that decompress responses (or use the
@jroper Yes, AHC uses