cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <>
Subject Re: [RT] Changing the mime type setting of a reader
Date Sun, 19 Oct 2003 20:13:22 GMT
No opinions on this? Does this mean nobody needs this feature? IMO it's 
not that important, but it can at least shorten the sitemap component 
declaration a bit. So I would like to have it.


On 10.10.2003 12:11, Carsten Ziegeler wrote:
> Hi,
> during our bug hunting session we came across bug 10277
> that contains a discussion about the mime type handling
> of a reader.
> The suggestion is to change the behaviour to (or the order
> to determine the mime type):
> - MIME type declared on the reader instance
> - Ask the Reader for a MIME type. A *.doc reader could peek into the file
>   and return either text/plain or application/vnd.msword.
> - MIME type declared for the reader component
> - MIME type declared in WEB-INF/web.xml or by the server.
> Because, *if* I set a mime type for the reader instance I will overide
> the information with this.
> For more info you can have a look at bugzilla.
> Now, we can either agree on the above, come to a different solution
> or leave it as is. Either way, I want to close this bug :)
> Carsten

View raw message