From efb0e364782f4e9984372d239fc9c37b81bb7aca Mon Sep 17 00:00:00 2001 From: wayne warren Date: Fri, 13 Oct 2023 18:13:55 -0600 Subject: [PATCH] spec: HEAD blob response should include content-length header Signed-off-by: wayne warren --- spec.md | 1 + 1 file changed, 1 insertion(+) diff --git a/spec.md b/spec.md index 4f41e3a4..e472349d 100644 --- a/spec.md +++ b/spec.md @@ -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`.