From: Craig Andrews Date: Sun, 13 Sep 2009 05:01:31 +0000 (-0400) Subject: Set a Vary header with accept-encoding and cookies. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0a1d2635c1278a12a643c6ee684a9707df6e87dd;p=quix0rs-gnu-social.git Set a Vary header with accept-encoding and cookies. Fixes http://status.net/trac/ticket/17 --- diff --git a/lib/action.php b/lib/action.php index fafb2c6fc4..670eb498c1 100644 --- a/lib/action.php +++ b/lib/action.php @@ -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) {