httpwg / httpbis-issues

1 stars 1 forks source link

Content-Length in HEAD responses #452

Closed mnot closed 4 years ago

mnot commented 11 years ago

p2 4.3.2 says:

Aside from the payload header fields (Section 3.3), the server SHOULD send the same header fields in response to a HEAD request as it would have sent if the request had been a GET.

The payload header fields include Content-Length, which in my testing is pretty common in HEAD responses. Was this an oversight, or intentional?

(We already have an exception for HEAD responses in p1's message body length algorithm, section 3.3.3).

Reported by @mnot, migrated from https://trac.ietf.org/trac/httpbis/ticket/452

mnot commented 11 years ago

@mnot commented:

Suggestion from list:

 The server SHOULD send the same header fields in response to a HEAD request as it would have sent if the request had been a GET, except that the payload header fields MAY be omitted.
mnot commented 11 years ago

@mnot changed origin to http://www.w3.org/mid/6EAF151D-EBE7-456D-B5D1-A35933CCDCF8@mnot.net

mnot commented 11 years ago

julian.reschke@gmx.de commented:

Fixed in 2318

mnot commented 11 years ago

http://trac.tools.ietf.org/wg/httpbis/trac/changeset/2318

mnot commented 11 years ago

julian.reschke@gmx.de commented:

From 2320:

fix changelog (see #452)