title | discussion |
---|---|
Honor media-type Accepts: |
{: .no_toc }
{: .no_toc .text-delta }
- TOC {:toc}
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?
Only return requested media types. If an implementation can accept multiple
types, it can just say so with the Accepts:
header.
This idea is relevant to the distribution spec.