Bug 32235 - Media type (MIME) mappings
Summary: Media type (MIME) mappings
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 5.5.4
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-14 16:31 UTC by Dave Hodder
Modified: 2004-11-17 06:35 UTC (History)
0 users



Attachments
Diff to update web.xml media types (3.27 KB, patch)
2004-11-14 16:32 UTC, Dave Hodder
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hodder 2004-11-14 16:31:03 UTC
The media type mappings in catalina/src/conf/web.xml could be brought more in
sync with the Apache HTTP Server mime.types file.  In particular the XHTML media
type is wrong (it should be "application/xhtml+xml", not "application/xhtml"),
and it'd be better to associate the .xml file extension with "application/xml"
rather than "text/xml".  Thank you.
Comment 1 Dave Hodder 2004-11-14 16:32:05 UTC
Created attachment 13452 [details]
Diff to update web.xml media types
Comment 2 Yoav Shapira 2004-11-17 15:20:10 UTC
Done for Tomcat 5.0.30.
Comment 3 Yoav Shapira 2004-11-17 15:35:47 UTC
Done also for 5.5.5.  Thanks for submitting the patch ;)