From cbd987040e1d7ac342d336c8a60507c2a950dbd9 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 11 Mar 1999 16:04:04 +0000 Subject: [PATCH] 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.) --- Lib/mimetypes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 3d6510e23d..f15160f774 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', -- 2.40.0