Skip to content

ContentType::json() has charset attribute #737

@mitsuhiko

Description

@mitsuhiko

If you use ContentType::json() a charset attribute is emitted. This is incorrect as the JSON mimetype does not accept a charset attribute. This causes issues with some servers that do not permit it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-headersArea: headers.C-bugCategory: bug. Something is wrong. This is bad!E-easyEffort: easy. A task that would be a great starting point for a new contributor.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions