Mercurial > hg > nginx-tests
comparison proxy_cache_revalidate.t @ 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 | 43e05ac6c23c |
children | b86c05516e65 |
comparison
equal
deleted
inserted
replaced
472:c8e790dcbe19 | 473:9a6e0ede4b92 |
---|---|
113 # the same for etag: | 113 # the same for etag: |
114 # 1st document isn't modified | 114 # 1st document isn't modified |
115 # 2nd document is recreated | 115 # 2nd document is recreated |
116 | 116 |
117 TODO: { | 117 TODO: { |
118 local $TODO = 'not yet'; | 118 local $TODO = 'not yet' unless $t->has_version('1.7.7'); |
119 | 119 |
120 like(http_get('/etag/t'), qr/X-Cache-Status: REVALIDATED.*SEE/ms, | 120 like(http_get('/etag/t'), qr/X-Cache-Status: REVALIDATED.*SEE/ms, |
121 'etag revalidated'); | 121 'etag revalidated'); |
122 | 122 |
123 } | 123 } |