From 6b3687bfaf26e676e4b6710c784b6ff94ae2cc31 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 3 Apr 2014 03:27:06 -0400 Subject: [PATCH] chore(main) generateHeaders --- lib/server/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/server/main.js b/lib/server/main.js index e99ffe67..ff9056a9 100644 --- a/lib/server/main.js +++ b/lib/server/main.js @@ -218,16 +218,16 @@ header = { 'Access-Control-Allow-Origin' : '*', 'Content-Type' : type + encoding, - 'last-modified' : '' + new Date(), + 'Last-Modified' : '' + new Date(), 'Vary' : 'Accept-Encoding' }; cmp = Util.strCmp(ext, '.appcache'); if (!cmp && p.cache) - header['cache-control'] = 'max-age=' + 31337 * 21; + header['Cache-Control'] = 'max-age=' + 31337 * 21; if (p.gzip) - header['content-encoding'] = 'gzip'; + header['Content-Encoding'] = 'gzip'; } return header;