Re: Head response Transfer-Encoding: chunked?

rlgray@raleigh.ibm.com:
>
>My interpretation of the spec is that the HEAD response should contain
>*exactly* the headers it would if the method had been GET. 

I never interpreted the spec that way.  It has always been my
assumption that the server would be free to put less (or more) headers
in the HEAD response if it wanted to.

I think of chunked-ness as a property of a single response on a single
hop, not as a property of a resource.  As a HEAD response describes a
resource, it would be counter-intuitive for me to put a chunked header
in it, and I would certainly not assume that the absence of a chunked
header guarantees a lack of chunked-ness in a GET response from the
same resource.

> I have to
>admit that today our server does the same as Apache and Agranat, but
>assuming that others agree I plan to fix that.
>
>The scenario I imagine is a client that for whatever reason doesn't
>want to accept chunked; it issues head, sees that the document would be
>chunked, and changes the protocol version ot 1.0 for the GET.

Koen.

Received on Thursday, 18 September 1997 11:06:15 UTC