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).
Committed revision 58706. This is in the trunk, i.e. what will become Python 2.6. I don't think it's worth fixing in 2.5.2, but if you really think it should go there as well, petition Neal Norwitz.
History
Date
User
Action
Args
2022-04-11 14:56:27
admin
set
github: 45694
2007-10-29 20:53:27
gvanrossum
set
status: open -> closedresolution: acceptedmessages: + nosy: + gvanrossum