[issue45253] mimetypes cannot detect mime of mka files
Andrei Kulakov
report at bugs.python.org
Mon Oct 11 14:22:48 EDT 2021
Andrei Kulakov <andrei.avk at gmail.com> added the comment:
mkv (matroska) is not registered with IANA here: http://www.iana.org/assignments/media-types/media-types.xhtml
Therefore according to the comment in mimetypes.py, it should not be added.
Also note that .mkv is also not in mimetypes.py, so it's being loaded from your system's mime types, so if you want .mka to work as well, make sure it's registered on your system rather than in Python's mimetypes.py .
I will close this as not a bug, please comment here if you think it should stay open.
----------
nosy: +andrei.avk
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45253>
_______________________________________
More information about the Python-bugs-list
mailing list