X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2FOutputHandler.php;h=39716ca0b4ee7c98824015ece877cce24344b80a;hb=b78d7626f95d53d7aa63bc69dbef7d75c2286092;hp=c6209eebcfbb47ea77b3dabe2d295ba7aaca954a;hpb=d8ab903223ceb1f259ac2d598d667695d8c4a98f;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;