Reinhard Pötz <reinhard <at> apache.org> 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. Joerg
