hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22421] New: - MultiPartPostMethod sends a different file than the one from file system
Date Thu, 14 Aug 2003 14:29:14 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22421>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22421

MultiPartPostMethod sends a different file than the one from file system

           Summary: MultiPartPostMethod sends a different file than the one
                    from file system
           Product: Commons
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HttpClient
        AssignedTo: commons-httpclient-dev@jakarta.apache.org
        ReportedBy: uonder@inwind.it


When sending a text file using the MultiPartPostMethod, it seems that the
file being written on the server is not the same as the original in the file 
system.

It's not a matter of content-type, for I've tried both the application/octet-
stream and text/plain (creating a FilePart on my own and adding it to the 
Method).
The line added is a CRLF (0x0D, 0x0A) and it appears in the head of the file.

Mime
View raw message