httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Köhler <>
Subject mod_deflate ignores Content-Encoding header
Date Thu, 26 Oct 2006 15:38:10 GMT

imagine a simple CGI-script:

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

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

That permits the applications to implement their own Content-Encoding
and it also permits them to disable the DEFLATE filter.

What do you think about it?
Does it make sense?

View raw message