tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51050] New: MIME types for m4a & m4v files
Date Mon, 11 Apr 2011 15:08:22 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51050

           Summary: MIME types for m4a & m4v files
           Product: Tomcat 7
           Version: 7.0.12
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: cedrik.lime@gmail.com


Created an attachment (id=26874)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26874)
Patch for additional common mpeg 4 mime types

Tomcat correctly serves MPEG 4 files with a standardized file extension of
.mp4, as video/mp4.

Common but non-standard mpeg4 files also use of the extensions .m4a and .m4v,
which are unknown to Tomcat and are therefore served without any "Content-Type"
header. This behaviour leads Internet Explorer to display garbage when
following a link to such a file.

This patch adds the correct MIME type for MPEG 4 files with extensions m4a,
m4b, m4r and m4v. (It omits the m4p extension, which is both not widely used,
and of limited interest since the data is encrypted.)

References:
http://tools.ietf.org/html/rfc4337
http://en.wikipedia.org/wiki/MPEG-4_Part_14#.MP4_versus_.M4A_filename_extensions

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message