cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <>
Subject Re: BufferedOutputStream
Date Tue, 03 Jun 2008 12:25:42 GMT
Joerg Heinicke wrote:
> Reinhard Pötz <reinhard <at>> writes:
>> Is my understanding right that the content length header can only be set 
>> as long as you haven't written into the underlying output stream?
> Yes, it is. That's why the buffering has to be big enough, i.e. nothing must
> have been flushed yet.

What happens when the buffer size is exceeded? Does it mean that the 
output is streamed and the content length parameter can't be set?

Reinhard Pötz                           Managing Director, {Indoqa} GmbH

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member        

View raw message