• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error occured while trying to read the data from the HTTPResponse

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic