[issue13952] mimetypes doesn't recognize .csv

Antoine Pitrou report at bugs.python.org
Mon Feb 6 20:13:57 CET 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> I'm not sure what you mean by your final comment, since by default the
> system mime types are read on both Unix and Windows and merged with
> the built in table.

I mean to have our built-in table mirror a recent Unix system's
mime-types table. There could be a special switch to mimetypes.py, which
would output the Python code of a dict mirroring /etc/mime.types (or
"/etc/mime.types" + the current built-in table) when run. Then it would
be easy to integrate the changes back into the code.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13952>
_______________________________________


More information about the Python-bugs-list mailing list