httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: mod_deflate ignores Content-Encoding header
Date Sat, 28 Oct 2006 15:35:26 GMT
On Thu, 2006-10-26 at 17:38 +0200, Sven Köhler wrote:
> Hi,
> 
> imagine a simple CGI-script:
> 
> 
> #!/usr/bin/perl
> print "Content-Encoding: identity\n";
> print "Content-Type: text/plain\n";
> print "\n";
> print "test";
> 
> 
> AFAIK, "identity" indicates, that no transformation is being done on the
> content.
> 
> IMHO, mod_deflate should implement the following logic:
> 
> Content-Encoding-header already present?
>   yes: do nothing, just forward content
>   no: add Content-Encoding header and do compression

It's a valid behaviour.  So's the current one.

Putting it under the control of the admin is a reasonable
proposition.  mod_filter does that: you can conditionally
insert mod_deflate.

-- 
Nick Kew


Mime
View raw message