How to get page source with content encoding gzip using httpClient?

Upgrade to httpclient 4.1. It should support compression seamlessly.

Thanks for your reply. I tried by using httpclient 4.1 and I am getting not in gzip format exception. – mahesh Jul 22 at 7:20 Curious.

The header section you posted in the question does not, in fact, specify gzip encoding. Are you sure it really is? – pap Jul 22 at 7:55 While trying I got below response: ---------------------------------------- Response is gzip encoded ---------------------------------------- Date = Fri, 22 Jul 2011 07:58:44 GMT Content-Encoding = gzip Content-Length = 5856 Content-Type = text/html; charset=UTF-8 X-Powered-By = JSF/1.2 Set-Cookie = JSESSIONID=9D2hTptKQ1PqKsMvHcYLyFTVlQ6fTNWK3VtcQcVmBHqFb9fSbvYL!750321853; path=/; HttpOnly content length =-1 content encoding=null Fatal transport error: Not in GZIP format java.io.

IOException: Not in GZIP format – mahesh Jul 22 at 8:09.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions