summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-05-18 14:25:08 (GMT)
committerGuido van Rossum <guido@python.org>1998-05-18 14:25:08 (GMT)
commit7beaad4e75eac9601e6678967cfadcc833746e20 (patch)
treeb0781aa9726b72d84765cde4f1fc9bcdd5c9affe
parent6b077878a54ce66e6e4e1f0a9c5034bd6671a79e (diff)
downloadcpython-7beaad4e75eac9601e6678967cfadcc833746e20.zip
cpython-7beaad4e75eac9601e6678967cfadcc833746e20.tar.gz
cpython-7beaad4e75eac9601e6678967cfadcc833746e20.tar.bz2
Add file extension .xml, mapping it to text/xml.
-rw-r--r--Lib/mimetypes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index 296c0ca..823ca62 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -184,6 +184,7 @@ types_map = {
'.ustar': 'application/x-ustar',
'.wav': 'audio/x-wav',
'.xbm': 'image/x-xbitmap',
+ '.xml': 'text/xml',
'.xpm': 'image/x-xpixmap',
'.xwd': 'image/x-xwindowdump',
'.zip': 'application/zip',