commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nigel Rantor <>
Subject HTTP Client File Upload Question
Date Thu, 23 Sep 2004 12:05:40 GMT

Hi all,

I'm being bitten by a weird bug and I have a feeling it's because I'm 
not sure about content-transfer encodings vs charsets.

I'm using httpclient 2 to upload to a perl CGI.

Uploading from a browser works fine.

Uploading from my program works fine for text files.

Uploading from my program fails for binary files. The resulting file is 
corrupted, it seems as if the two high bits of every byte have been 
zeroed, so a byte val of FF gets transferred as 3F.

Does this make any sense to anyone?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message