From: Steinar H. Gunderson Date: Sun, 16 Nov 2014 12:35:48 +0000 (+0100) Subject: Send the right Vary headers. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=9ce0e4167a9365bf67c2df74203a092e6be4263c;ds=inline Send the right Vary headers. --- diff --git a/www/serve-analysis.js b/www/serve-analysis.js index 19ab936..868363d 100644 --- a/www/serve-analysis.js +++ b/www/serve-analysis.js @@ -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) {