DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41536>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41536 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO ------- Additional Comments From [EMAIL PROTECTED] 2007-02-05 15:27 ------- Adding a Content-Length header is not recommended, as this header is created by the underlying protocol. I suspect this has confused HttpClient into not adding the chunked header but still generating chunked output. The code currently returns -l from the contentLength() method in the RequestEntity instance; this forces chunked encoding. It would be easy enough to return the actual length where the message has been provided in the text box, and thus avoid chunked encoding. Probably worth doing. Not so sure that this is possible for file input; the file size returned by the OS may not match the number of bytes actually sent, and one does not want to read the file twice. Can you not persuade your application to accept chunked input? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
