Antoine Pitrou <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue13952>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com