- if ( $this->useGzip() ) {
- // @todo Ugly wfClientAcceptsGzip() function - use context!
- if ( wfClientAcceptsGzip() ) {
- header( 'Content-Encoding: gzip' );
+ // @todo Ugly wfClientAcceptsGzip() function - use context!
+ if ( $this->useGzip() && wfClientAcceptsGzip() ) {
+ header( 'Content-Encoding: gzip' );