summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-01-01 17:34:29 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2012-01-01 17:34:29 (GMT)
commita56ee04536d25a110db6dbad72c58780788abfa9 (patch)
tree7b8e87b70689839fa8ac3e1d68435d8dc020bcf3
parent35e0275e591b2ebda207040c1e226dd59aaa0a6c (diff)
downloadcpython-a56ee04536d25a110db6dbad72c58780788abfa9.zip
cpython-a56ee04536d25a110db6dbad72c58780788abfa9.tar.gz
cpython-a56ee04536d25a110db6dbad72c58780788abfa9.tar.bz2
Issue #13640: add application/vnd.apple.mpegurl MIME type; (partial) patch by Hiroaki Kawai
-rw-r--r--Lib/mimetypes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index 464c9a6..fa62326 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -433,6 +433,8 @@ def _default_mime_types():
'.ksh' : 'text/plain',
'.latex' : 'application/x-latex',
'.m1v' : 'video/mpeg',
+ '.m3u' : 'application/vnd.apple.mpegurl',
+ '.m3u8' : 'application/vnd.apple.mpegurl',
'.man' : 'application/x-troff-man',
'.me' : 'application/x-troff-me',
'.mht' : 'message/rfc822',