httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sung Kim" <hun...@ucsc.edu>
Subject RE: CGI occasionally returns Content-Length encoded page?
Date Sat, 31 Jan 2004 09:56:41 GMT

I think if the content is small enough or the content size is known, Apache
uses Content-length. Otherwise, it uses chunk encoding.

- Sung  

> -----Original Message-----
> From: Min Xu(Hsu) [mailto:mxu@cae.wisc.edu]
> Sent: Saturday, January 31, 2004 1:48 AM
> To: dev@httpd.apache.org
> Subject: CGI occasionally returns Content-Length encoded page?
> 
> 
> Hi,
> 
> I am doing some simple experiments with apache CGI module. I am
> using the simple "test-cgi" program that comes with the distribution.
> I notice most of the times the returned page is in "chunk" encoding.
> But occasionally, the returned page is in "Content-Length" encoding.
> 
> Does anyone know why? Is apache returning error messages or doing
> some caching to the dynamic contents?
> 
> Thanks,
> 
> -Min




Mime
View raw message