Set a Vary header with accept-encoding and cookies.
Fixes http://status.net/trac/ticket/17
This commit is contained in:
parent
53b558353b
commit
0a1d2635c1
@ -881,6 +881,7 @@ class Action extends HTMLOutputter // lawsuit
|
|||||||
*/
|
*/
|
||||||
function handle($argarray=null)
|
function handle($argarray=null)
|
||||||
{
|
{
|
||||||
|
header('Vary: Accept-Encoding,Cookie');
|
||||||
$lm = $this->lastModified();
|
$lm = $this->lastModified();
|
||||||
$etag = $this->etag();
|
$etag = $this->etag();
|
||||||
if ($etag) {
|
if ($etag) {
|
||||||
|
Loading…
Reference in New Issue
Block a user