From c22e083503d636fcec4b3ac7c9be78b921db1f39 Mon Sep 17 00:00:00 2001 From: Brandon Mitchell Date: Sat, 2 Sep 2023 20:56:59 -0400 Subject: [PATCH] Add OCI-Referrers header Signed-off-by: Brandon Mitchell --- spec.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec.md b/spec.md index 5f6f1cfa..23c571e1 100644 --- a/spec.md +++ b/spec.md @@ -173,6 +173,9 @@ If the digest does differ, it MAY be the case that the hashing algorithms used d See [Content Digests](https://github.com/opencontainers/image-spec/blob/v1.0.1/descriptor.md#digests) [apdx-3](#appendix) for information on how to detect the hashing algorithm in use. Most clients MAY ignore the value, but if it is used, the client MUST verify the value against the uploaded blob data. +A registry that implements the [Referrers Listing](#listing-referrers) MAY include the `OCI-Referrers: absent` header on manifests which do not have any referrers. +Clients MAY skip requests to the [Referrers Listing](#listing-referrers) for manifests that include the `OCI-Referrers: absent` header. + If the manifest is not found in the registry, the response code MUST be `404 Not Found`. ##### Pulling blobs