[issue1043134] Add preferred extensions for MIME types
Éric Araujo
report at bugs.python.org
Wed Jul 13 17:06:30 CEST 2011
Éric Araujo <merwok at netwok.org> added the comment:
The proposed patch does not solve the issue. In the current API, there is no way to do it, so this bug requires a new feature. I think it would involve a new dict, like preferred_extensions, which would be seeded with default values, like .jpg for image/jpeg and .txt for text/plain, and a few functions/methods to query the dict or add items.
----------
keywords: -easy, patch
title: mimetypes.guess_extension('text/plain') == '.ksh' ??? -> Add preferred extensions for MIME types
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1043134>
_______________________________________
More information about the Python-bugs-list
mailing list