Skip to content

Commit

Permalink
Merge pull request opencontainers#759 from jzelinskie/loosen-mediatypes
Browse files Browse the repository at this point in the history
Unspecified descriptor mediatypes MUST be ignored
  • Loading branch information
vbatts authored Mar 6, 2019
2 parents 1a1feba + 069d186 commit 243ea08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion image-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ The image index is a higher-level manifest which points to specific [image manif
While the use of an image index is OPTIONAL for image providers, image consumers SHOULD be prepared to process them.

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

For the media type(s) that this document is compatible with, see the [matrix][matrix].

## *Image Index* Property Descriptions
Expand Down Expand Up @@ -40,7 +41,7 @@ For the media type(s) that this document is compatible with, see the [matrix][ma

Image indexes concerned with portability SHOULD use one of the above media types.
Future versions of the spec MAY use a different mediatype (i.e. a new versioned format).
An encountered `mediaType` that is unknown SHOULD be safely ignored.
An encountered `mediaType` that is unknown to the implementation MUST be ignored.

- **`platform`** *object*

Expand Down
2 changes: 2 additions & 0 deletions manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ Unlike the [image index](image-index.md), which contains information about a set
- [`application/vnd.oci.image.layer.nondistributable.v1.tar+gzip`](layer.md#gzip-media-types)

Manifests concerned with portability SHOULD use one of the above media types.
An encountered `mediaType` that is unknown to the implementation MUST be ignored.


Entries in this field will frequently use the `+gzip` types.

Expand Down

0 comments on commit 243ea08

Please sign in to comment.