]> granicus.if.org Git - python/commitdiff
Patch 1353 by Jacob Winther.
authorGuido van Rossum <guido@python.org>
Mon, 29 Oct 2007 20:52:45 +0000 (20:52 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 29 Oct 2007 20:52:45 +0000 (20:52 +0000)
Add mp4 mapping to mimetypes.py.

Lib/mimetypes.py

index c9d618e596f9f73fd7b5309c01d681f52a1dbc07..fc0108b1b18b83e8441cff22e11532d8cd35d24f 100644 (file)
@@ -393,6 +393,7 @@ def _default_mime_types():
         '.movie'  : 'video/x-sgi-movie',
         '.mp2'    : 'audio/mpeg',
         '.mp3'    : 'audio/mpeg',
+        '.mp4'    : 'video/mp4',
         '.mpa'    : 'video/mpeg',
         '.mpe'    : 'video/mpeg',
         '.mpeg'   : 'video/mpeg',