New submission from Jacob:

mp4 is missing from the mimetypes.py list of valid mimetypes. mp4 is 
registered with IANA and is defined in the mpeg-4 standard as a container 
for mpeg-4 codecs such as h264. Lack of this definition means the format 
cannot be recognised by software dependsing on the mimetypes modules, that 
don't use one of the suggested local mime definitions (OpenBSD).

----------
components: Library (Lib)
files: mimetypes.py.patch
messages: 56900
nosy: kraft
severity: normal
status: open
title: mp4 missing from mimetypes.py
type: rfe
versions: Python 2.1.1, Python 2.1.2, Python 2.2, Python 2.2.1, Python 2.2.2, 
Python 2.2.3, Python 2.3, Python 2.4, Python 2.5
Added file: http://bugs.python.org/file8649/mimetypes.py.patch

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1353>
__________________________________
--- mimetypes.py.orig   Mon Oct 29 23:47:08 2007
+++ mimetypes.py        Mon Oct 29 23:19:05 2007
@@ -391,6 +391,7 @@
         '.movie'  : 'video/x-sgi-movie',
         '.mp2'    : 'audio/mpeg',
         '.mp3'    : 'audio/mpeg',
+        '.mp4'    : 'video/mp4',
         '.mpa'    : 'video/mpeg',
         '.mpe'    : 'video/mpeg',
         '.mpeg'   : 'video/mpeg',
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to