Comment #13 on issue 1315 by beg1689: Need a mime-type library on Linux
http://code.google.com/p/chromium/issues/detail?id=1315
In my experience pythons mimetypes library was not very reliable, i just
call the
mimetype program:
mime = os.popen('mimetype %s' % filename).rpartition(':')[2].strip() or
'application/octet-stream'
is this not enough?
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---