X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FOutputHandler.php;h=39716ca0b4ee7c98824015ece877cce24344b80a;hb=1d41a1a7345c38a87c047f06c5f75d3dace43a29;hp=c6209eebcfbb47ea77b3dabe2d295ba7aaca954a;hpb=13d083b2065092b4bc48288a8ecdee9270fdb19e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/OutputHandler.php b/includes/OutputHandler.php index c6209eebcf..39716ca0b4 100644 --- a/includes/OutputHandler.php +++ b/includes/OutputHandler.php @@ -137,9 +137,9 @@ function wfGzipHandler( $s ) { } if ( !$foundVary ) { header( 'Vary: Accept-Encoding' ); - global $wgUseXVO; - if ( $wgUseXVO ) { - header( 'X-Vary-Options: Accept-Encoding;list-contains=gzip' ); + global $wgUseKeyHeader; + if ( $wgUseKeyHeader ) { + header( 'Key: Accept-Encoding;match=gzip' ); } } return $s;