Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align prose about content in HEAD requests with description of GET (fixes #826) #835

Merged
merged 1 commit into from
Apr 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions draft-ietf-httpbis-semantics-latest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4634,9 +4634,12 @@ Content-Encoding: gzip
sake of efficiency.
</t>
<t>
A content within a HEAD request message has no defined semantics;
sending content in a HEAD request might cause some existing
implementations to reject the request.
A client &SHOULD-NOT; generate content in a HEAD
request. Content received in a HEAD request has no defined semantics,
cannot alter the meaning or target of the request, and might lead some
implementations to reject the request and close the connection because of
its potential as a request smuggling attack
(<xref target="request.smuggling"/>).
</t>
<t>
The response to a HEAD request is cacheable; a cache &MAY; use it to
Expand Down Expand Up @@ -13050,8 +13053,8 @@ Content-Type: text/plain
(<xref target="idempotent.methods"/>)
</t>
<t>
Clarified that request bodies on GET and DELETE are not interoperable.
(<xref target="GET"/>, <xref target="DELETE"/>)
Clarified that request bodies on GET, HEAD, and DELETE are not interoperable.
(<xref target="GET"/>, <xref target="HEAD"/>, <xref target="DELETE"/>)
</t>
<t>
Allowed use of the <x:ref>Content-Range</x:ref> header field
Expand Down Expand Up @@ -13524,6 +13527,7 @@ Content-Type: text/plain

<section title="Since draft-ietf-httpbis-semantics-15" anchor="changes.since.15">
<ul x:when-empty="None yet.">
<li>In <xref target="HEAD"/>, align prose about content in HEAD requests with description of GET (<eref target="https://github.com/httpwg/http-core/issues/826"/>)</li>
</ul>
</section>
</section>
Expand Down