Make OutputPage's mechanism for gathering Vary headers reusable
authorCatrope <roan.kattouw@gmail.com>
Fri, 1 Jun 2012 10:23:53 +0000 (03:23 -0700)
committerChad Horohoe <chadh@wikimedia.org>
Tue, 3 Jul 2012 13:32:13 +0000 (09:32 -0400)
commit9867c1d1a22d458032e19ec73bb20831576b0123
treefb0af11fb6aa6d6ad63ff33fcaca3de1717a8b5d
parent07c643f21590b740b7c32cd1ab6d3a0ba7ebeb97
Make OutputPage's mechanism for gathering Vary headers reusable

Maybe WebResponse would be a better place for this, but this'll work for
now.

* Add getVaryHeader() to get the serialized version of $mVaryHeader.
* Remove 'Cookie' from the initializer, and add it explicitly later
** This allows reuse by code that doesn't want 'Cookie' in there

Change-Id: Ifa8f74a21f832154b05e54ced95b9f9eb6052fcd
includes/OutputPage.php