hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Gl├╝ck <ortwin.glu...@nose.ch>
Subject Re: DO NOT REPLY [Bug 24560] - HttpClient loops endlessly while trying to retrieve status line
Date Mon, 17 Nov 2003 14:19:04 GMT

bugzilla@apache.org wrote:
> - For strict mode, throw a ProtocolException if anything else but whitespace has
> been received.

In strict mode we should not even allow whitespace. Please bear in mind 
that HTTP is not only used to transfer text. It can be used to transfer 
binary data as well. So the term "whitespace" is meaninsless for the 
response body. In strict mode unexpected content should always trigger a 
ProtoclException on the very first extra byte. Otherwise any extra CRLF 
(which clearly violates RFC-2616) would go unnoticed.


To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org

View raw message