Re: Re: Output Compression Issues

From: Date: Thu, 16 Aug 2001 18:37:11 +0000
Subject: Re: Re: Output Compression Issues
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-63460@lists.php.net to get a copy of this message
At 21:27 16-08-01, Thies C. Arntzen wrote:
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.
Yep.
- 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.
Ah, good point. That's exactly what I meant if somebody can think about good reasons not to do it :) Chunking is quite important, and there's no way we can know in advance how many bytes we're going to end up having. Unless we add in another output buffer. Zeev

« previous php.dev (#63460) next »