Skip to content

Commit 2c507b7

Browse files
committed
manifest-list: Drop HTTP Content-Type sentence
As Adrian Colley points out [1], clients may not be aquiring the manifest over HTTP. In most cases, folks will know (from a Content-Type header, a descriptor media type, or other means) what type of blob they're dealing with before they look at the blob. I expect client behavior like [2]: If you can verify the digest, ignore Content-Type. If you can't verify the digest, respect the Content-Type and require it to match your expected media type (if any). But in the absence of an HTTP-API spec I don't think we need to talk about this at all. [1]: opencontainers#390 [2]: opencontainers#390 (comment) Signed-off-by: W. Trevor King <[email protected]>
1 parent ae3a252 commit 2c507b7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

manifest-list.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
The manifest list is a higher-level manifest which points to specific [image manifests](manifest.md) for one or more platforms.
44
While the use of a manifest list is OPTIONAL for image providers, image consumers SHOULD be prepared to process them.
5-
A client will distinguish a manifest list from an image manifest based on the Content-Type returned in the HTTP response.
65

76
This section defines the `application/vnd.oci.image.manifest.list.v1+json` [media type](media-types.md).
87

0 commit comments

Comments
 (0)