Jorg Heymans wrote:
Sylvain, why didn't you tell me this 10 months ago when i asked this very same question ;-)
Well, I don't always follow cocoon-users and certainly missed your question. Sorry for that :-/
However if you really only in the serializer can detect what you're streaming back then this is no good either.
That's right, for the simple reason that the content-type header must be send to the client before the beginning of the actual response content.
Another reason also is that if the response is cached, the serializer never receives the SAX event stream. It therefore needs to know the mime-type using means external to the pipeline stream.
Thanks for the insight!
You're welcome :-)
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
