Skip to content

Commit

Permalink
Merge pull request #67 from w3c/youctagh-head-vs-get-requests
Browse files Browse the repository at this point in the history
Add clarification on using HEAD vs GET requests
  • Loading branch information
YoucTagh authored Feb 21, 2024
2 parents 63bf93a + c835b1b commit 990215f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions connegp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,12 @@ <h4>Get Resource by Profile</h4>
next most specific profile that the resource representation conforms to. Note that resource representations
might conform to more general specifications or other profiles via a hierarchy (i.e. transitively).
</p>
<p>
As specified in [[RFC9110]], If the <code>HEAD</code> method is used in a request that specifies preferences in the
profile, media type, or other negotiation dimension, then the response should be the same as for a <code>GET</code> method,
including headers and status code, except that the body MUST be empty. It is important to note that headers,
for which the value is determined only while generating the response content, MAY be omitted.
</p>
<p>
If a server redirects to another resource it MUST indicate the selected choice of profile from the list
requested by the client and SHOULD indicate a specific narrower profile expected to be returned (if known)
Expand Down

0 comments on commit 990215f

Please sign in to comment.