Skip to content

Commit

Permalink
manifest-list: Drop HTTP Content-Type sentence
Browse files Browse the repository at this point in the history
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 <wking@tremily.us>
  • Loading branch information
wking committed Oct 18, 2016
1 parent ae3a252 commit 2c507b7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion manifest-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

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

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

Expand Down

0 comments on commit 2c507b7

Please sign in to comment.