]> git.sesse.net Git - remoteglot/commitdiff
Send the right Vary headers.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 16 Nov 2014 12:35:48 +0000 (13:35 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 16 Nov 2014 12:35:48 +0000 (13:35 +0100)
www/serve-analysis.js

index 19ab93667861d28ad2d2d974e0d6af3c73f30328..868363d0926bc9d49fa8a4539fa0b4798d6765e6 100644 (file)
@@ -111,6 +111,7 @@ var send_json = function(response, accept_gzip, num_viewers) {
                'Access-Control-Allow-Origin': 'http://analysis.sesse.net',
                'Access-Control-Expose-Headers': 'X-Remoteglot-Last-Modified, X-Remoteglot-Num-Viewers',
                'Expires': 'Mon, 01 Jan 1970 00:00:00 UTC',
+               'Vary': 'Accept-Encoding',
        };
 
        if (accept_gzip) {