I am trying to get HTTP response with the help of apache httpclient. I get headers successfully but it throws exception when I try to get contents. Exception is:
<
The problem appears to be on the server-side, not in the client code you've pasted.
The server claimed that the content contained 203856 bytes but only sent 1070.