[Python-checkins] cpython (2.7): Issue #16329: Add .webm to mimetypes.types_map

berker.peksag python-checkins at python.org
Sat Apr 9 01:06:17 EDT 2016


https://hg.python.org/cpython/rev/6ed3cb699be6
changeset:   100883:6ed3cb699be6
branch:      2.7
parent:      100868:26f1543e806c
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Sat Apr 09 08:05:18 2016 +0300
summary:
  Issue #16329: Add .webm to mimetypes.types_map

Patch by Giampaolo Rodola'.

files:
  Lib/mimetypes.py |  1 +
  Misc/NEWS        |  2 ++
  2 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -514,6 +514,7 @@
         '.ustar'  : 'application/x-ustar',
         '.vcf'    : 'text/x-vcard',
         '.wav'    : 'audio/x-wav',
+        '.webm'   : 'video/webm',
         '.wiz'    : 'application/msword',
         '.wsdl'   : 'application/xml',
         '.xbm'    : 'image/x-xbitmap',
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -65,6 +65,8 @@
 Library
 -------
 
+- Issue #16329: Add .webm to mimetypes.types_map.  Patch by Giampaolo Rodola'.
+
 - Issue #23735: Handle terminal resizing with Readline 6.3+ by installing our
   own SIGWINCH handler.  Patch by Eric Price.
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list