-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
TOML MIME type is missing #139958
Copy link
Copy link
Closed
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
Fields
Give feedbackNo fields configured for issues without a type.
Bug report
Bug description:
Looking at the
mimetypesmodule, it feels odd that.tomlfiles are not recognized, given that they are in use within the Python community (pyproject.tomlbeing the most obvious case).Looking at the
types_mapand 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