Skip to content

Handling of unaccepted/wrong content-type #37

@FiV0

Description

@FiV0

Currently specifying a bad content-type results in a server error. We could do two things to improve the dev experience:

  • Return a 406 Not Acceptable instead of a server error.
  • Include the error and irritating content-type in the response.

The same is probably true for content-language and content-encoding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions