mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
remove 'public' part from Cache-Control, not required
This commit is contained in:
@@ -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+
|
||||
|
||||
Reference in New Issue
Block a user