X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FOutputHandler.php;h=39716ca0b4ee7c98824015ece877cce24344b80a;hb=0c8e0c66feb9b8df65bd12cb4136a1410cef8758;hp=c6209eebcfbb47ea77b3dabe2d295ba7aaca954a;hpb=31d239f9d9e2516fc725d9b743ece0dfe72c23a2;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;