New submission from Guénaël Muller :
mimetypes lib consider illustrator file ('.ai') as 'application/postscript'
type. This is correct... but also wrong.
Old illustrator file (illustrator 9) are real postscript file but modern one
are technically pdf. So guessing .ai a
New submission from Guénaël Muller :
mimetypes.guess_extension and mimetypes.guess_all_extensions doesn't work
correctly with non-lowercase mimetype.
>>> import mimetypes
>>> mimetypes.guess_type('file.pptm')
('application/vnd.ms-powerpoi