r69770 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r69769
|
r69770
|
r69771
>
Date:
05:00, 23 July 2010
Author:
tstarling
Status:
ok
Tags:
Comment:
Send XVO headers only if $wgUseXVO is true.
Modified paths:
/trunk/phase3/includes/OutputHandler.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/OutputHandler.php
—
—
@@ -90,7 +90,10 @@
91
91
}
92
92
if ( !$foundVary ) {
93
93
header( 'Vary: Accept-Encoding' );
94
- header( 'X-Vary-Options: Accept-Encoding;list-contains=gzip' );
94
+ global $wgUseXVO;
95
+ if ( $wgUseXVO ) {
96
+ header( 'X-Vary-Options: Accept-Encoding;list-contains=gzip' );
97
+ }
95
98
}
96
99
return $s;
97
100
}
Follow-up revisions
Revision
Commit summary
Author
Date
r69985
MFT
r69770
,
r69771
: X-Vary-Options fixes.
tstarling
03:34, 27 July 2010
Status & tagging log
07:39, 23 July 2010
Catrope
(
talk
|
contribs
)
changed the
status
of r69770
[
removed:
new
added:
ok]