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=14108>. 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=14108 MultipartPost closes input stream Summary: MultipartPost closes input stream Product: Commons Version: Nightly Builds Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: HttpClient AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This is something of a collection of issues that are all interrelated. 1. MultipartPost calls close on the outputstream it retrieved from HttpConnection which causes an exception to be thrown later on. This call should be replaced with a call to flush(). 2. The MultipartPost classes do not have any logging in them. We should add trace statements at a minimum. 3. new FilePart(String, File) throws a null pointer exception. 4. The tests in TestPartsNoHost are broken. I'll attach patches for these fixes in a moment, broken down as much as possible. -- To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:commons-dev-help@;jakarta.apache.org>
