cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Collen <colle...@umn.edu>
Subject Re: [RT] Changing the mime type setting of a reader
Date Mon, 20 Oct 2003 15:03:09 GMT
Andrew Savory wrote:

> 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.

+1 for the swapped order, the user should *always* have control over 
something that might happen automagically.

Tony

> 
> 
> Works for me!
> 
> Andrew.
> 



Mime
View raw message