]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Set a Vary header with accept-encoding and cookies.
authorCraig Andrews <candrews@integralblue.com>
Sun, 13 Sep 2009 05:01:31 +0000 (01:01 -0400)
committerCraig Andrews <candrews@integralblue.com>
Sun, 13 Sep 2009 05:01:31 +0000 (01:01 -0400)
Fixes http://status.net/trac/ticket/17

lib/action.php

index fafb2c6fc4c131a2340ed2bce2fcef0e22879779..670eb498c1a63375af9c37b882c4a61b87f8af45 100644 (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) {