Bug 32235 - Media type (MIME) mappings
Media type (MIME) mappings
Product: Tomcat 5
Classification: Unclassified
Component: Catalina
Other other
: P3 normal (vote)
: ---
Assigned To: Tomcat Developers Mailing List
Depends on:
  Show dependency tree
Reported: 2004-11-14 16:31 UTC by Dave Hodder
Modified: 2004-11-17 06:35 UTC (History)
0 users

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 ;)