[MKDoc-modules] MKDoc::Apache_Cache always returns gzip encoded content

Jean-Michel Hiver jhiver at mkdoc.com
Thu Aug 26 16:35:54 BST 2004


Bruno Postle wrote:
> If I fetch a document served by MKDoc::Apache_Cache it returns gzip
> encoded content regardless of the 'Accept-Encoding' header:
> 
>   ab -n1 -v4 -H 'Accept-Encoding: none' http://www.example.com/
>   ab -n1 -v4 -H 'Accept-Encoding: gzip' http://www.example.com/
> 
> This is because of a bogus comparision of the http status code which
> is always going to fail.

Aah, cool :-)


More information about the MKDoc-modules mailing list