Skip to content

net/http: DetectContentType does not recognize json #10630

@henrikbjorn

Description

@henrikbjorn

DetectContentType does not have a sniffer for application/json and therefor fails to guess it. This means it falls back to text/plain.

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