Set a Vary header with accept-encoding and cookies.

Fixes http://status.net/trac/ticket/17
This commit is contained in:
Craig Andrews 2009-09-13 01:01:31 -04:00
parent 53b558353b
commit 0a1d2635c1

View File

@ -881,6 +881,7 @@ class Action extends HTMLOutputter // lawsuit
*/
function handle($argarray=null)
{
header('Vary: Accept-Encoding,Cookie');
$lm = $this->lastModified();
$etag = $this->etag();
if ($etag) {