Mercurial > hg > nginx-tests
changeset 473:9a6e0ede4b92
Tests: adjusted proxy cache revalidate TODO.
Before fd283aa92e04, the If-Modified-Since header with Epoch was sent for
responses cached without the Last-Modified header. This caused to apply
the requested method even with the matching If-None-Match conditional.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 16 Oct 2014 11:42:40 +0400 |
parents | c8e790dcbe19 |
children | b86c05516e65 |
files | proxy_cache_revalidate.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/proxy_cache_revalidate.t Tue Oct 14 18:54:36 2014 +0400 +++ b/proxy_cache_revalidate.t Thu Oct 16 11:42:40 2014 +0400 @@ -115,7 +115,7 @@ # 2nd document is recreated TODO: { -local $TODO = 'not yet'; +local $TODO = 'not yet' unless $t->has_version('1.7.7'); like(http_get('/etag/t'), qr/X-Cache-Status: REVALIDATED.*SEE/ms, 'etag revalidated');