From: Fred Drake Date: Thu, 11 Mar 1999 16:04:04 +0000 (+0000) Subject: Added .rdf and .xsl as application/xml types. (.rdf is for the X-Git-Tag: v1.5.2c1~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbd987040e1d7ac342d336c8a60507c2a950dbd9;p=thirdparty%2FPython%2Fcpython.git 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.) --- diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 3d6510e23d02..f15160f774ba 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',