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 ------- Additional Comments From [EMAIL PROTECTED] 2007-02-06 02:44 ------- (In reply to comment #4) > (In reply to comment #3) > > Adding a Content-Length header is not recommended, as this header is [...] > > The code currently returns -l from the contentLength() method in the > > RequestEntity instance; this forces chunked encoding. [...] > > 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. > > > If that is the case, can we just return -1 if it is a file? > Thanks! See above: it already does that; I changed the text box case to return the string length. -- 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]
