6

No matter how I test using different value of Accept-Encoding, it always returned as gzip.

curl -I -H  'Accept-Encoding: gzip' http://www.example.com
Content-Encoding: gzip


curl -I -H  'Accept-Encoding: deflate' http://www.example.com
Content-Encoding: gzip

So how to force deflate?

Howard
  • 2,275

1 Answers1

0

You can't. mod_deflate only ever responds with Content-Encoding: gzip.

covener
  • 1,735