summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2005-03-15 15:52:08 (GMT)
committerFred Drake <fdrake@acm.org>2005-03-15 15:52:08 (GMT)
commit7ce75151a45df75898c651f85dda98f4f12b2bf9 (patch)
tree0874933749e3ce93aa609a86ac2fce08c78eac1a
parentbea3f6f5c788eb4f0f7639913ff89654152864c0 (diff)
downloadcpython-7ce75151a45df75898c651f85dda98f4f12b2bf9.zip
cpython-7ce75151a45df75898c651f85dda98f4f12b2bf9.tar.gz
cpython-7ce75151a45df75898c651f85dda98f4f12b2bf9.tar.bz2
add two more extensions:
- .wsdl --> Web Service Definition Language - .xpdl --> XML Process Definition 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 88b9e2f..7a8b765 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -443,12 +443,14 @@ types_map = {
'.vcf' : 'text/x-vcard',
'.wav' : 'audio/x-wav',
'.wiz' : 'application/msword',
+ '.wsdl' : 'application/xml',
'.xbm' : 'image/x-xbitmap',
'.xlb' : 'application/vnd.ms-excel',
# Duplicates :(
'.xls' : 'application/excel',
'.xls' : 'application/vnd.ms-excel',
'.xml' : 'text/xml',
+ '.xpdl' : 'application/xml',
'.xpm' : 'image/x-xpixmap',
'.xsl' : 'application/xml',
'.xwd' : 'image/x-xwindowdump',