]> granicus.if.org Git - python/commitdiff
add two more extensions:
authorFred Drake <fdrake@acm.org>
Tue, 15 Mar 2005 15:52:08 +0000 (15:52 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 15 Mar 2005 15:52:08 +0000 (15:52 +0000)
- .wsdl --> Web Service Definition Language
- .xpdl --> XML Process Definition Language

Lib/mimetypes.py

index 88b9e2f91e87e5df66399afd03ca022247d11b12..7a8b765aefcdf7af53fdc96f9350f958d909d638 100644 (file)
@@ -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',