From e6310b3229e9795c674d79378d74e331d6580285 Mon Sep 17 00:00:00 2001 From: Young Hahn Date: Sun, 17 Mar 2013 15:08:38 -0400 Subject: [PATCH] Looser check around max-age. --- test/tilejson.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tilejson.test.js b/test/tilejson.test.js index 376ab9a..7efdf31 100644 --- a/test/tilejson.test.js +++ b/test/tilejson.test.js @@ -95,7 +95,7 @@ describe('loading tilejson files via HTTP', function() { it('should load a tile from the specified tilejson source', function(done) { tilejson.getTile(0, 0, 0, function(err, data, headers) { if (err) throw err; - assert.equal('max-age=14400', headers['Cache-Control']); + assert.ok('Cache-Control' in headers); assert.equal('943ca1495e3b6e8d84dab88227904190', md5(data)); done(); });