New submission from Guénaël Muller <in...@inkey-art.net>:

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 as postscript lead to wrong guessing if 
you're using some software that make decision based on mimetype, you can of 
course, check both file_extension and mimetype but this remove usefulness of 
mimetype.

----------
messages: 389023
nosy: Inkhey
priority: normal
severity: normal
status: open
title: mimetype default list make a wrong guess for illustrator file
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43544>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to