Hi,

We are in the process of migrating from Apache HttpClient 4.5 to 5.0.3. Since 
we want to do client side http caching we are using CachingHttpClientBuilder to 
set up the HttpClient. With version 4.5.x this works fine and gzip-encoded 
responses are automatically decompressed. However, with version 5.0.3, the 
responses are returned as uncompressed ByteArrayEntity and the Conent-Encoding 
header is missing from the returned ByteArrayEntity, which prevents the default 
gzip decompression to be applied.

I think this might be a bug and I have posted more details in this 
stackoverflow 
post<https://stackoverflow.com/questions/67318260/gzip-decompression-not-working-with-apache-cachinghttpclient-version-5-0-3>.
 Has anybody observed this issue? Could there be a workaround?

Thanks for any help.

Regards
Gunther Heppner

Reply via email to