[issue13952] mimetypes doesn't recognize .csv
Antoine Pitrou
report at bugs.python.org
Mon Feb 6 20:05:02 CET 2012
Antoine Pitrou <pitrou at free.fr> added the comment:
I would argue the embedded mime-types dictionary should at least mirror current IANA assignments, which are already present in up-to-date Unix systems:
>>> mimetypes.guess_type("foo.csv")
('text/csv', None)
So not having text/csv is IMHO a bug.
Also it would be nice if there were an easy way to keep the mime-types dictionary up-to-date wrt. a system's mime-types file.
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13952>
_______________________________________
More information about the Python-bugs-list
mailing list