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