diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-09-13 01:01:31 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-09-13 01:01:31 -0400 |
commit | 0a1d2635c1278a12a643c6ee684a9707df6e87dd (patch) | |
tree | 5162148d0eb8fcd226d730407f33af07401ee2d9 /lib/action.php | |
parent | 53b558353be61ad9c8f6667097a87bbb39acefc0 (diff) |
Set a Vary header with accept-encoding and cookies.
Fixes http://status.net/trac/ticket/17
Diffstat (limited to 'lib/action.php')
-rw-r--r-- | lib/action.php | 1 |
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) { |