summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-03-11 16:04:04 (GMT)
committerFred Drake <fdrake@acm.org>1999-03-11 16:04:04 (GMT)
commitcbd987040e1d7ac342d336c8a60507c2a950dbd9 (patch)
tree278b9036335b05f7877cad001ef693ba6b015196
parent59e4f37d76c29c3133c5441ed60b1b4ae79a3776 (diff)
downloadcpython-cbd987040e1d7ac342d336c8a60507c2a950dbd9.zip
cpython-cbd987040e1d7ac342d336c8a60507c2a950dbd9.tar.gz
cpython-cbd987040e1d7ac342d336c8a60507c2a950dbd9.tar.bz2
Added .rdf and .xsl as application/xml types. (.rdf is for the
Resource Description Framework, a metadata encoding, and .xsl is for the Extensible Stylesheet Language.)
-rw-r--r--Lib/mimetypes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index 3d6510e..f15160f 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -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',