cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Savory <and...@luminas.co.uk>
Subject Re: [vote] Changing the mime type setting of a reader [was [RT]...]
Date Mon, 20 Oct 2003 10:20:30 GMT
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.


Andrew.

-- 
Andrew Savory                                Email: andrew@luminas.co.uk
Managing Director                              Tel:  +44 (0)870 741 6658
Luminas Internet Applications                  Fax:  +44 (0)700 598 1135
Orixo alliance: http://www.orixo.com/          Web:    www.luminas.co.uk

Mime
View raw message