Skip to content

Process Accept header MIME types in case-insensitive way #2835

@yuwaMSFT2

Description

@yuwaMSFT2

The Accept header is processed case sensitively when user requests for manifest. So the following is not matching to manifest v2.
Accept: Application/vnd.docker.distribution.manifest.v2+json

But according to spec, media type should be case insensitive:
Both top-level type and subtype names are case-insensitive.

https://tools.ietf.org/html/rfc6838

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions