Bug 41990 - several mime types missing from conf/web.xml
Summary: several mime types missing from conf/web.xml
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Connector:HTTP (show other bugs)
Version: 5.5.23
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-29 17:56 UTC by Jon Stevens
Modified: 2007-04-15 13:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Stevens 2007-03-29 17:56:04 UTC
conf/web.xml

please add:

    <mime-mapping>
        <extension>wmv</extension>
        <mime-type>video/x-ms-wmv</mime-type>
    </mime-mapping>
Comment 1 Jon Stevens 2007-03-29 18:00:10 UTC
It seems several mime types are missing... here is another one...

    <mime-mapping>
        <extension>mp4</extension>
        <mime-type>video/mp4</mime-type>
    </mime-mapping>

Here is a nice list to compare against...

http://www.feedforall.com/mime-types.htm
Comment 2 Mark Thomas 2007-04-15 13:05:12 UTC
I have added these two to svn. They will be included in 5.5.24 and 6.0.12 onwards.

If you want to create a patch for any other missing mime-types (I didn't check
the link you gave), I'll happily apply it.