You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2003/08/14 16:29:14 UTC
DO NOT REPLY [Bug 22421] New: -
MultiPartPostMethod sends a different file than the one from file system
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.