[Mod_gzip] SEND_AS_IS:HAS_CE message
mod_gzip@lists.over.net
mod_gzip@lists.over.net
Fri, 2 May 2003 02:08:18 EDT
Hello Jack...
SEND_AS_IS:HAS_CE is a very simple response condition.
It means that the response coming back through Apache
( from the PHP CGI stuff ) already has some form of
'Content-encoding:' and since modern browsers still
cannot ever handle more than 1 'Content-encoding'
applied to a response then you can't compress a
response that ALREADY had a 'Content-encoding'
applied to it. You have to forward the response 'as-is'
which is exactly what mod_gzip is doing ( SEND_AS_IS ).
The fact that no browser can deal with 'multiple encodings'
on the same response means that none of them are
anywhere near RFC or HTTP/1.1 compliant but that's
another long story. Any HTTP/1.1 compliant user agent
is SUPPOSED to be able to 'decode' any number of
multiple 'Content-encodings:' applied to the same
response... but none of them actually can do this.
More than likely, the response coming back from
PHP already has "Content-encoding: gzip" since
that's about the only 'Content-encoding:' that makes
any sense according to RFCs. 'gzip' or 'deflate' are
the only 2 'officially' supported Content encodings
as per the W3C ( World Wide Web Consortium ).
Check and see what your PHP CGI stuff is actually
sending. I will bet it already has "Content-encoding: gzip"
on it. If that's the case... then what's the problem? You
are already getting what you seem to be asking for.
Yours...
Kevin