hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaurav Kumar <gauravphoe...@gmail.com>
Subject Unable to see response encoding even through "Content-Encoding" header is present
Date Wed, 08 Jan 2014 08:04:28 GMT
Using HttpClient 4.3-beta2.

Have a look at this httpclient header log (headers only)
http://pastebin.com/kWk6rbJ2

As you can see, the server is responding with Content-Encoding header.

Now, refer to this Java code - http://pastebin.com/i7nhAksb - it simple
prints the headers and a message if content encoding cannot be found. The
output of this code is here- http://pastebin.com/WtkuBsZb


My question is - why HttpClient is not able to see content encoding even
though it's  header log  shows it got the header from server?

Thanks,
Gaurav

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message