<cita quién="Jorg Heymans">
>
>
> Jeremy Quinn wrote:
>>
>
> <snip/>
>
>> Yes, I was one of the people always doing that !!!
>> I always assumed you needed to add the mime-type to the <map:read/> so
>> needed specific pipelines for each type.
>>
>> Thanks for the tip !!!
>
> How does cocoon send the mimetype of a file then? Does it have a
> mime.types somewhere internally like apache? Or does it rely on the
> browser to interprete the binary stream correctly or guess it from the
> file extension?

Yep. From the file extension. Defined in the web.xml. For example in
Tomcat See:

$TOMCAT_HOME/conf/web.xml

For the no-defined applications, we can also add new ones in the Cocoon
web.xml file.

Search for mime in both files.

Best Regards,

Antonio Gallardo.

Reply via email to