# HG changeset patch # User Maxim Dounin # Date 1418226520 -10800 # Node ID a610ee837190b85931a070d114c64bc9d3292ace # Parent 1e0818200b3fef10f74a7a4891689d1350392949 Tests: relaxed "expires modified" test. Running tests takes some time, and hence the max-age= value returned may be smaller. diff --git a/headers.t b/headers.t --- a/headers.t +++ b/headers.t @@ -116,6 +116,6 @@ unlike(http_get('/off'), qr/Expires:/, ' like(http_get('/access'), qr/max-age=2048/, 'expires access'); like(http_get('/negative'), qr/no-cache/, 'expires negative'); like(http_get('/daily'), qr/Expires:.*:33 GMT/, 'expires daily'); -like(http_get('/modified'), qr/max-age=2048/, 'expires modified'); +like(http_get('/modified'), qr/max-age=204./, 'expires modified'); ###############################################################################