]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added .rdf and .xsl as application/xml types. (.rdf is for the
authorFred Drake <fdrake@acm.org>
Thu, 11 Mar 1999 16:04:04 +0000 (16:04 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 11 Mar 1999 16:04:04 +0000 (16:04 +0000)
Resource Description Framework, a metadata encoding, and .xsl is for
the Extensible Stylesheet Language.)

Lib/mimetypes.py

index 3d6510e23d026948269a306caded7ade0c07c7bc..f15160f774ba43052f5bf11f45951290ff72e7d8 100644 (file)
@@ -201,6 +201,7 @@ types_map = {
     '.qt': 'video/quicktime',
     '.ras': 'image/x-cmu-raster',
     '.rgb': 'image/x-rgb',
+    '.rdf': 'application/xml',
     '.roff': 'application/x-troff',
     '.rtf': 'application/rtf',
     '.rtx': 'text/richtext',
@@ -228,6 +229,7 @@ types_map = {
     '.wav': 'audio/x-wav',
     '.xbm': 'image/x-xbitmap',
     '.xml': 'text/xml',
+    '.xsl': 'application/xml',
     '.xpm': 'image/x-xpixmap',
     '.xwd': 'image/x-xwindowdump',
     '.zip': 'application/zip',