gforcada · GitHub

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

Read the original on github.com ↗