Skip to content

Commit

Permalink
Merge pull request #482 from waynr/HEAD-blob-should-return-content-le…
Browse files Browse the repository at this point in the history
…ngth

spec: HEAD blob response should include content-length header
  • Loading branch information
sudo-bmitch authored Nov 1, 2023
2 parents 3940529 + efb0e36 commit f218235
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 f218235

Please sign in to comment.