Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 902 Bytes

media-type_D1.md

File metadata and controls

44 lines (25 loc) · 902 Bytes
title discussion
Honor media-type Accepts:

{: .no_toc }

Table of contents

{: .no_toc .text-delta }

  1. TOC {:toc}

What are the challenges that we are trying to solve?

Registries often return media type other than what was requested. I was very surprised to discover that returning the requested type is a SHOULD.

Doesn't this violate the HTTP spec?

What ideas do we have for how to address these challenges?

Only return requested media types. If an implementation can accept multiple types, it can just say so with the Accepts: header.

How do these ideas break down into...

Already existing OCI specs?

This idea is relevant to the distribution spec.

A new project (CNCF or OCI)

Questions?

What pre-existing work or software can support these ideas?

Relevant OCI Issues