On 16 Aug 2001 15:26:09 +0300, Zeev Suraski wrote:
> - Output compression should probably check that the content type is text/*, 
> and not perform compression otherwise

that means adding another sapi call - but i think it would make sense.

> - We can look into sending the content length header from the output 
> compression callback

if ithe output is not send as chunks we should do so - the original code
for that (10 lines) was added by me and taken out by you a few days
later when you added the chunking support. 

> 
> Can anybody think of good reasons not to send the content-length header in 
> case we're performing output buffering?

if we flush the output-buffer at the end of the request (= no chunking)
we should set the content-length as it greatly decreases latency on slow
network-connection to be able to us keep-alives!

tc




-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to