Skip to content

mimetypes: duplicate entry for bmp #132635

@simon04

Description

@simon04

Bug report

Bug description:

types_map contains two entries for bmp

    types_map = _types_map_default = {
'.bmp'    : 'image/bmp',
'.bmp'    : 'image/x-ms-bmp',
}

According to https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/MIME_types/Common_types, image/bmp should be used.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions