cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helma van der Linden (JIRA)" <>
Subject [jira] Reopened: (COCOON-328) Cannot set MIME type for ResourceReader
Date Tue, 25 Oct 2005 13:37:57 GMT
     [ ]
Helma van der Linden reopened COCOON-328:

reopened just to set the resolution to fixed

> Cannot set MIME type for ResourceReader
> ---------------------------------------
>          Key: COCOON-328
>          URL:
>      Project: Cocoon
>         Type: Bug
>   Components: - Components: Sitemap
>     Versions: 2.0.3
>  Environment: Operating System: other
> Platform: Other
>     Reporter: J.Pietschmann
>     Assignee: Cocoon Developers Team

> The getMimeType gets the MIME type straight from the environment context,
> this is the servlet context for HTTP. This is somewhat surprising given that
> the sitemap for the Cocoon webapp contains entries like
>   <map:match pattern="cocoon.gif">
>     <map:read mime-type="image/gif" src="welcome/cocoon.gif"/>
>   </map:match>
> The mime-type attribute here is completely ignored.
> I need a possibility to set the MIME type for a .jar reader to
> application/octet-stream, because Netscape4 interprets the MIME configured
> in Tomcat4 for .jar files, application/java-archive, as SmartUpdate, and
> this prevents users from downloading .jar files in certain circumstances.
> I suspect configuring JARs as application/octet-stream globally in Tomcat
> will interfere with applets, therefore I'd prefer a more local solution.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message