Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7beaad4

Browse files
committed
Add file extension .xml, mapping it to text/xml.
1 parent 6b07787 commit 7beaad4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/mimetypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ def read_mime_types(file):
184184
'.ustar': 'application/x-ustar',
185185
'.wav': 'audio/x-wav',
186186
'.xbm': 'image/x-xbitmap',
187+
'.xml': 'text/xml',
187188
'.xpm': 'image/x-xpixmap',
188189
'.xwd': 'image/x-xwindowdump',
189190
'.zip': 'application/zip',

0 commit comments

Comments
 (0)