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


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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to