• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error occured while trying to read the data from the HTTPResponse  RSS feed

Hetal Shah
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have follwing problem

First I am take the HTTPConnection object of HTTPClient package of the particular url and then get the particular file and get the HTTPResponse using that connection object and then try to read the data from that response object but at that time it give me an error of

java.util.zip.ZipException: unknown compression method
at java.util.zip.InflaterInputStream.read(Unknown Source)
at HTTPClient.HTTPResponse.readResponseData(HTTPResponse.java:936)
at HTTPClient.HTTPResponse.getData(HTTPResponse.java:501)
at HTTPClient.HTTPResponse.getText(HTTPResponse.java:545)

can any one help me in this.......

thanks in advance
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!