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: [RT] Changing the mime type setting of a reader
Date Mon, 20 Oct 2003 10:19:15 GMT
On Mon, 20 Oct 2003, Carsten Ziegeler wrote:

> Ok, rethinking it - I think you're right. So what about swapping the second
> and third item:
>
> > - 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.

Works for me!

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