Skip to content

Commit

Permalink
HTTP HEAD method for directory
Browse files Browse the repository at this point in the history
  • Loading branch information
farshidtz committed Aug 30, 2021
1 parent 64b03b0 commit bd41fa7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,16 @@ <h3>Directory Service API</h3>
should be set to HTTP status text.
</p>

<p>
<span class="rfc2119-assertion" id="tdd-http-head">
For each HTTP endpoint that responds to the `GET` method, the server SHOULD accept `HEAD`
requests and return only the headers.
</span>
This allows clients to retrieve headers such as the `Content-Length` without receiving the body
and decide on a suitable strategy to query the information. For example, a constrained client can
request only the necessary parts of an object (using an apprpriate search query) or
retrieve a list of items in small subsets.
</p>

<section id="exploration-directory-api-registration" class="normative">
<h4>Registration</h4>
Expand Down

0 comments on commit bd41fa7

Please sign in to comment.