Skip to content

Invalid MIME type in the README #156

@mindplay-dk

Description

@mindplay-dk

mime.contentType('file.json') // 'application/json; charset=utf-8'

The charset attribute does not exist for application/json - JSON is Unicode by definition, it's the only valid charset.

Is that what the function actually returns, or just a documentation issue?

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