Skip to content

v2/client: trim content-type parameters #83

@lucab

Description

@lucab

This is a followup to #82 (comment).

Current docker-registry specification and implementation have some quirks related to content-type headers, returning charset parameters even for media-types that don't allow any.

As a minor compatibility fix, we should revert #82 and instead introduce a mime_trim_params that expunges all parameters from a media type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions