File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -426,13 +426,17 @@ Manifest byte stream:
426426
427427The uploaded manifest MUST reference any blobs that make up the artifact.
428428However, the list of blobs MAY be empty.
429+
430+ The registry MUST store the manifest in the exact byte representation provided by the client.
429431Upon a successful upload, the registry MUST return response code ` 201 Created ` , and MUST have the following header:
430432
431433```
432434Location: <location>
433435```
434436
435437The ` <location> ` is a pullable manifest URL.
438+ The Docker-Content-Digest header returns the canonical digest of the uploaded blob, and MUST be equal to the client provided digest.
439+ Clients MAY ignore the value but if it is used, the client SHOULD verify the value against the uploaded blob data.
436440
437441An attempt to pull a nonexistent repository MUST return response code ` 404 Not Found ` .
438442
You can’t perform that action at this time.
0 commit comments