cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: When to set mime-type
Date Wed, 27 Oct 2004 14:58:51 GMT
Luigi Bai wrote:
> 
> I would like to consider allowing the mime-type to be set during 
> processing, perhaps even as late as after endDocument().

No, that's against "Cocoon Way". I'd even say, *all* headers should be set 
*before* startDocument, during pipeline assembly & setup stages. What's 
happening in ResourceReader currently WRT headers should be fixed - IIRC there 
is either Bugzilla entry for this or an email in archive.

Vadim

Mime
View raw message