[ python-Bugs-1202018 ] mimetypes.py does not find mime.types on Mac OS X

SourceForge.net noreply at sourceforge.net
Sat May 14 18:57:28 CEST 2005


Bugs item #1202018, was opened at 2005-05-14 18:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1202018&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Stefan H. Holek (shh42)
Assigned to: Nobody/Anonymous (nobody)
Summary: mimetypes.py does not find mime.types on Mac OS X

Initial Comment:
Python 2.3 and 2.4 (dunno about 2.5)

The mimetypes.py library does not find the mime.types files on Mac 
OS X. They are in:

/etc/cups/mime.types and
/etc/httpd/mime.types respectively.

As a result not all mimetypes are recognized by Python. The one in /
etc/cups is fairly limited, so including the Apache one as well seems 
like a good idea.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1202018&group_id=5470


More information about the Python-bugs-list mailing list