Skip to content

TOML MIME type is missing #139958

Description

@gforcada

Bug report

Bug description:

Looking at the mimetypes module, it feels odd that .toml files are not recognized, given that they are in use within the Python community (pyproject.toml being the most obvious case).

Looking at the types_map and specially at the comment above it, it is not clear to me what's the criteria of adding one or not whenever they are on the IANA listing.

But to not get myself carried away, and as that would be my first contribution, I would keep it simple. Others can add other missing MIME types.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions