remove 'public' part from Cache-Control, not required

This commit is contained in:
jomo
2016-01-23 06:26:41 +01:00
parent 5654d51eec
commit 29fa734148
2 changed files with 2 additions and 2 deletions

View File

@@ -222,7 +222,7 @@ describe("Crafatar", function() {
assert("" + res.headers["response-time"]);
assert(res.headers["x-request-id"]);
assert.equal(res.headers["access-control-allow-origin"], "*");
assert.equal(res.headers["cache-control"], "max-age=" + config.caching.browser + ", public");
assert.equal(res.headers["cache-control"], "max-age=" + config.caching.browser);
}
// throws Exception when +url+ is requested with +etag+