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=13676>. 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=13676 FilePart fails to send data on second call to send Summary: FilePart fails to send data on second call to send Product: Commons Version: Nightly Builds Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: HttpClient AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When using a FilePart with the MultipartPostMethod and a server that requires authentication, the first call to FilePart.send() sends the data correctly and HttpClient receives an unauthorized response from the server. If HttpClient is set to automatically handle authentication attempts it then attempts to send the FilePart again at which time the InputStream FilePart reads from is empty so it doesn't send any data. Due to this, the data actually sent by HttpClient doesn't match the content length specified so the server continues to wait for the data and doesn't respond, leaving HttpClient to timeout while waiting for a response. This occurs with the latest source from CVS as of 16 October 2002. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>