r108542 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108541‎ | r108542 | r108543 >
Date:20:11, 10 January 2012
Author:preilly
Status:ok
Tags:
Comment:
add vary header support for carrier data
Modified paths:
  • /trunk/extensions/MobileFrontend/MobileFrontend.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/MobileFrontend.php
@@ -818,6 +818,7 @@
819819 $wgOut->addVaryHeader( 'X-Device' );
820820 }
821821 $wgOut->addVaryHeader( 'Cookie' );
 822+ $wgOut->addVaryHeader( 'X-Carrier' );
822823 wfProfileOut( __METHOD__ );
823824 return true;
824825 }

Status & tagging log