hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amarnath_Naluma...@adp.com
Subject GZIP file upload over SSL
Date Thu, 16 Mar 2006 10:54:49 GMT
Hi All,

 

            I need to upload a GZIP file over a SSL connection using
HttpClient api. A servlet receives the file using the following stmt....

 

in = new GZIPInputStream(request.getInputStream())

 

            Servlet is throwing the following exception while reading the
file.

 

               java.io.EOFException

        at java.util.zip.GZIPInputStream.readUByte

 

 

            Same servlet is working fine when the file uploaded using the
browser. And also works with HttpClient without SSL.

 

            Appreciate your help.

 

Thanx & Regards

amar

 




-----------------------------------------
This message and any attachments are intended only for the use of
the addressee and may contain information that is privileged and
confidential. If the reader of the message is not the intended
recipient or an authorized representative of the intended
recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this
communication in error, notify the sender immediately by return
email and delete the message and any attachments from your system.

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