summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-09-13 01:01:31 -0400
committerCraig Andrews <candrews@integralblue.com>2009-09-13 01:01:31 -0400
commit0a1d2635c1278a12a643c6ee684a9707df6e87dd (patch)
tree5162148d0eb8fcd226d730407f33af07401ee2d9 /lib
parent53b558353be61ad9c8f6667097a87bbb39acefc0 (diff)
Set a Vary header with accept-encoding and cookies.
Fixes http://status.net/trac/ticket/17
Diffstat (limited to 'lib')
-rw-r--r--lib/action.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/action.php b/lib/action.php
index fafb2c6fc..670eb498c 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) {