Skip to content

Commit

Permalink
spec: HEAD blob response should include content-length header
Browse files Browse the repository at this point in the history
Signed-off-by: wayne warren <wayne.warren.s@gmail.com>
  • Loading branch information
waynr committed Oct 14, 2023
1 parent 3f68583 commit efb0e36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ In order to verify that a repository contains a given manifest or blob, make a `

A HEAD request to an existing blob or manifest URL MUST return `200 OK`.
A successful response SHOULD contain the digest of the uploaded blob in the header `Docker-Content-Digest`.
A successful response SHOULD contain the size in bytes of the uploaded blob in the header `Content-Length`.

If the blob or manifest is not found in the registry, the response code MUST be `404 Not Found`.

Expand Down

0 comments on commit efb0e36

Please sign in to comment.