[issue46035] mimetypes.guess_type returns deprecated mimetype application/x-javascript

Irit Katriel report at bugs.python.org
Tue Jan 18 08:34:51 EST 2022


Irit Katriel <iritkatriel at gmail.com> added the comment:

As noted in Issue32462, the fact that system files take precedence over the definitions in the sodlib is a feature, so the proposed patch to reverse this behaviour cannot be applied unless it is decided to change the API in this way.  That would require a discussion on python-ideas. If you want to being it up there, and there is a decision to change the behaviour, please create a new issue.

----------
nosy: +iritkatriel
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> mimetypes.guess_type() returns incorrectly formatted type

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46035>
_______________________________________


More information about the Python-bugs-list mailing list