Jens Troeger <jens.troe...@gmail.com> added the comment:
This is still not working: tried it on Python 3.8.5 and Python 3.7.8. >>> import mimetypes >>> mimetypes.guess_extension('image/jpg') >>> mimetypes.guess_extension('image/jpeg') '.jpg' Both should return the same value; I expected the mimetype 'image/jpg' to return extension '.jpg' because that mimetype is used a lot. ---------- resolution: out of date -> remind status: closed -> open _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37943> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com