cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: [vote] Changing the mime type setting of a reader [was [RT]...]
Date Mon, 20 Oct 2003 11:02:39 GMT
Andrew Savory wrote:
> 
> On Mon, 20 Oct 2003, Carsten Ziegeler wrote:
> 
> > Description:
> > >>> ...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.
> 
> +1 with 2nd and 3rd swapped, so:
> 
> > >>> - MIME type declared on the reader instance
> > >>> - MIME type declared for the reader component
> > >>> - 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 in WEB-INF/web.xml or by the server.
> 
Is anyone who already voted against swapping 2nd and 3rd item?

Carsten

Mime
View raw message