cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <>
Subject [RT] Changing the mime type setting of a reader
Date Fri, 10 Oct 2003 10:11:29 GMT

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


View raw message