Mercurial > hg > nginx-tests
changeset 512:a610ee837190
Tests: relaxed "expires modified" test.
Running tests takes some time, and hence the max-age= value returned
may be smaller.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 10 Dec 2014 18:48:40 +0300 |
parents | 1e0818200b3f |
children | 1a73389a19c4 |
files | headers.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/headers.t Wed Dec 10 16:39:52 2014 +0300 +++ b/headers.t Wed Dec 10 18:48:40 2014 +0300 @@ -116,6 +116,6 @@ 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'); ###############################################################################