Skip to content

Commit 70894da

Browse files
committed
Add OCI-Referrers header
Signed-off-by: Brandon Mitchell <[email protected]>
1 parent 961602b commit 70894da

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec.md

+4
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ If the digest does differ, it MAY be the case that the hashing algorithms used d
175175
See [Content Digests](https://github.com/opencontainers/image-spec/blob/v1.0.1/descriptor.md#digests) <sup>[apdx-3](#appendix)</sup> for information on how to detect the hashing algorithm in use.
176176
Most clients MAY ignore the value, but if it is used, the client MUST verify the value against the uploaded blob data.
177177

178+
Clients that will request the [Referrers Listing](#listing-referrers) for this manifest MAY include the `OCI-Referrers: request` header.
179+
A registry that implements the [Referrers Listing](#listing-referrers) and receives the `OCI-Referrers: request` header MAY include the `OCI-Referrers: absent` header in the response of manifests which do not have any referrers.
180+
Clients MAY skip requests to the [Referrers Listing](#listing-referrers) for manifests that include the `OCI-Referrers: absent` header.
181+
178182
If the manifest is not found in the registry, the response code MUST be `404 Not Found`.
179183

180184
##### Pulling blobs

0 commit comments

Comments
 (0)