You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ying Li <yi...@lanelib.stanford.edu> on 2001/04/06 18:35:22 UTC

How to make Apache (use Apache::ASP?) send out the content-length of documents generated on the fly

Hi,

Is there any way to tell Apache server to send the Content-Length header 
base on the dynamically-generated query result? Any help will be appreciated.

Ying Li

Re: How to make Apache (use Apache::ASP?) send out thecontent-length of documents generated on the fly

Posted by Joshua Chamas <jo...@chamas.com>.
Ying Li wrote:
> 
> Hi,
> 
> Is there any way to tell Apache server to send the Content-Length header base on the dynamically-generated query result? Any help will be
> appreciated.
> 

With Apache::ASP this will happen automatically for you
if you have BufferingOn set, since Apache::ASP knows the 
full length of the document when it flush the headers.

I don't know about other environments.

--Josh
_________________________________________________________________
Joshua Chamas			        Chamas Enterprises Inc.
NodeWorks >> free web link monitoring	Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051