summaryrefslogtreecommitdiffstats
path: root/Lib/mimetypes.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-10-29 20:52:45 (GMT)
committerGuido van Rossum <guido@python.org>2007-10-29 20:52:45 (GMT)
commitdff51b2898145d4f9c5db669db4f9ef5a67ab4b5 (patch)
tree284756df31080d8c18a7eb073084cda009fefc5c /Lib/mimetypes.py
parent60d58406d0d43190c0caaf2cf29d574b152dae53 (diff)
downloadcpython-dff51b2898145d4f9c5db669db4f9ef5a67ab4b5.zip
cpython-dff51b2898145d4f9c5db669db4f9ef5a67ab4b5.tar.gz
cpython-dff51b2898145d4f9c5db669db4f9ef5a67ab4b5.tar.bz2
Patch 1353 by Jacob Winther.
Add mp4 mapping to mimetypes.py.
Diffstat (limited to 'Lib/mimetypes.py')
-rw-r--r--Lib/mimetypes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py
index c9d618e..fc0108b 100644
--- a/Lib/mimetypes.py
+++ b/Lib/mimetypes.py
@@ -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',