Skip to content

Grape should log a warning when the formatter returns a 406 for an unsupported content type. #322

Closed
@idyll

Description

@idyll

Right now when an unsupported content type is passed as the request.media_type grape returns a 406.

I would be great if the media_type was logged along with the 406 status because when this happens in error it is really hard to debug.

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