]> git.sesse.net Git - remoteglot-book/blobdiff - www/serve-analysis.js
More header squeezing.
[remoteglot-book] / www / serve-analysis.js
index cfc5f15e40f4395dfc98d910068b0d9ef6c699de..948ea967c643b5fec2eddd67d02be9606b14f0fe 100644 (file)
@@ -180,9 +180,9 @@ var send_json = function(response, ims, accept_gzip, num_viewers) {
 
        var headers = {
                'Content-Type': 'text/json',
-               'X-Remoteglot-Last-Modified': this_json.last_modified,
-               'X-Remoteglot-Num-Viewers': num_viewers,
-               'Access-Control-Expose-Headers': 'X-Remoteglot-Last-Modified, X-Remoteglot-Num-Viewers',
+               'X-RGLM': this_json.last_modified,
+               'X-RGNV': num_viewers,
+               'Access-Control-Expose-Headers': 'X-RGLM, X-RGNV',
                'Vary': 'Accept-Encoding',
        };