httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: how the heck do you set content-length on printenv?
Date Mon, 16 Feb 1998 07:26:10 GMT
On Mon, 16 Feb 1998, Marc Slemko wrote:

> On Sun, 15 Feb 1998, Dean Gaudet wrote:
> > Just allocate a chunk of memory and write into it until you know how big
> > it is.  If your preallocation is too small just allocate more, and more
> > and more. 
> That isn't the real problem.  I have a decent bound on the size of output,
> but since I have to include the content-length in that output and the size
> of the output depends on the content-length...

Huh?  The http headers aren't considered part of the content-length... 


View raw message