Irit Katriel <iritkatr...@gmail.com> added the comment:
It is found by the module-level guess_type but not by the MimeType class's guess_type: >>> from mimetypes import MimeTypes >>> MimeTypes().guess_type('test.jp2') (None, None) >>> mimetypes.guess_type('test.jp2') ('image/jp2', None) >>> That difference is the subject of Issue38656. What remains to decide here is whether jp2 should be added to the builtin list of mimetypes. ---------- nosy: +iritkatriel type: behavior -> enhancement versions: +Python 3.11 -Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41791> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com