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: Bug in Head Method (with authenticated server)
Date Tue, 17 Dec 2002 08:05:48 GMT
Adrian Sutton wrote:
> I think that assumption is incorrect and that the entire readResponseBody
> method should be removed so that the default implementation in
> HttpMethodBase is used instead.  I'm not familiar enough with the expected
> operation of HEAD to be sure of this though.  Certainly it is a bad idea to
> assume that the HEAD method *never* contains a response regardless of what
> other headers tell us.

RFC 2616 says:
"All responses to the HEAD request method MUST NOT include a 
message-body, even though the presence of entity-header fields might 
lead one to believe they do."

View raw message