Folks I am not certain if this kind of behavior is in violation of the RFC 2068. Any opinions?
Oleg On Fri, 2003-02-07 at 22:44, [EMAIL PROTECTED] wrote: > 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=16892>. > 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=16892 > > Empty response body is not properly handled when chunked encoding is used > > Summary: Empty response body is not properly handled when chunked > encoding is used > Product: Commons > Version: 2.0 Alpha 1 > Platform: All > OS/Version: All > Status: NEW > Severity: Major > Priority: Other > Component: HttpClient > AssignedTo: [EMAIL PROTECTED] > ReportedBy: [EMAIL PROTECTED] > > > IIS 5.0 server, when returning no content in response to an HTTP/1.1 request, > still includes "Transfer-Encoding: chunked" response header. As HttpClient > always expects chunk-encoded stream to be properly terminated, an > HttpRecoverableException exception results, when no content is sent back > > ===================================================================== > > POST /someurl.aspx HTTP/1.1 > Content-Length: 1132 > Host: xxx.xxx.xxx.xxx > User-Agent: Jakarta Commons-HttpClient/2.0alpha2 > Content-Type: multipart/form-data; boundary=----------------314159265358979323846 > > ------------------314159265358979323846 > Content-Disposition: form-data; name="nmFile"; filename="xxxxxxxxx.xml" > Content-Type: application/octet-stream > > <... content removed ...> > > ------------------314159265358979323846-- > > HTTP/1.1 200 OK > Server: Microsoft-IIS/5.0 > Date: Sat, 08 Feb 2003 15:22:26 GMT > Transfer-Encoding: chunked > Cache-Control: private > Content-Type: text/html > > ===================================================================== > > Bug reported by Jim Crossley > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]