]> granicus.if.org Git - python/commitdiff
Bug #1202018: add some common mime.types locations.
authorGeorg Brandl <georg@python.org>
Wed, 14 Jun 2006 08:42:11 +0000 (08:42 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 14 Jun 2006 08:42:11 +0000 (08:42 +0000)
Lib/mimetypes.py

index bee2ff753475fd484117dd56f846270e07257bc1..b0d2f181728d105e12f322c7e8bcd7eb1bc27df5 100644 (file)
@@ -33,6 +33,10 @@ __all__ = [
 
 knownfiles = [
     "/etc/mime.types",
+    "/etc/httpd/mime.types",                    # Mac OS X
+    "/etc/httpd/conf/mime.types",               # Apache
+    "/etc/apache/mime.types",                   # Apache 1
+    "/etc/apache2/mime.types",                  # Apache 2
     "/usr/local/etc/httpd/conf/mime.types",
     "/usr/local/lib/netscape/mime.types",
     "/usr/local/etc/httpd/conf/mime.types",     # Apache 1.2