Skip to content

Commit

Permalink
Recommend response code for HEAD requests
Browse files Browse the repository at this point in the history
Clarifies the question from #192. We don't use `MUST` because technically we allowed all status codes before and don't want to make some server implementations incompatible now.
  • Loading branch information
Acconut authored Oct 19, 2023
1 parent 909982f commit ab284dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ completed. If the size of the upload is known, the Server MUST include the
SHOULD return either the `404 Not Found`, `410 Gone` or `403 Forbidden` status
without the `Upload-Offset` header.

The Server SHOULD acknowledge successful `PATCH` requests with a
`200 OK` or `204 No Content` status.

The Server MUST prevent the client and/or proxies from caching the response by
adding the `Cache-Control: no-store` header to the response.

Expand Down

0 comments on commit ab284dc

Please sign in to comment.