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;