Skip to content

Commit a579a51

Browse files
committed
Rename OCI-Named-Ref to OCI-Ref
Signed-off-by: Yinon Avraham <[email protected]>
1 parent d775493 commit a579a51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ The `Content-Type` header SHOULD match what the client [pushed as the manifest's
157157
If the manifest has a `mediaType` field, clients SHOULD reject unless the `mediaType` field's value matches the type specified by the `Content-Type` header.
158158
For more information on the use of `Accept` headers and content negotiation, please see [Content Negotiation](./content-negotiation.md).
159159

160-
The client SHOULD include an `OCI-Named-Ref` header on each request to indicate which manifest is being pulled.
160+
The client SHOULD include an `OCI-Ref` header on each request with the full image reference to indicate which manifest is being pulled.
161161

162162
A GET request to an existing manifest URL MUST provide the expected manifest, with a response code that MUST be `200 OK`.
163163
A successful response SHOULD contain the digest of the uploaded blob in the header `Docker-Content-Digest`.
@@ -203,7 +203,7 @@ A useful diagram is provided [here](https://github.com/google/go-containerregist
203203
A registry MAY reject a manifest of any type uploaded to the manifest endpoint if it references manifests or blobs that do not exist in the registry.
204204
When a manifest is rejected for this reason, it must result in one or more `MANIFEST_BLOB_UNKNOWN` errors <sup>[code-1](#error-codes)</sup>.
205205

206-
The client MAY include an `OCI-Named-Ref` header on each request to indicate which manifest is being pushed.
206+
The client MAY include an `OCI-Ref` header on each request with the full image reference to indicate which manifest is being pushed.
207207

208208
##### Pushing blobs
209209

0 commit comments

Comments
 (0)