Mercurial > hg > nginx-tests
comparison not_modified_proxy.t @ 419:f5f2a66853a9
Tests: adjust entity tag TODOs.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 26 Jun 2014 04:36:45 +0400 |
parents | 861e6cad6299 |
children | 907e89fba9c3 |
comparison
equal
deleted
inserted
replaced
418:861e6cad6299 | 419:f5f2a66853a9 |
---|---|
99 | 99 |
100 like(http_get_inm('/etag', $etag), qr/ 304 /, 'if-none-match etag only'); | 100 like(http_get_inm('/etag', $etag), qr/ 304 /, 'if-none-match etag only'); |
101 like(http_get_inm('/proxy/etag', $etag), qr/ 200 /, 'inm etag proxy ignored'); | 101 like(http_get_inm('/proxy/etag', $etag), qr/ 200 /, 'inm etag proxy ignored'); |
102 | 102 |
103 TODO: { | 103 TODO: { |
104 local $TODO = 'not yet'; | 104 local $TODO = 'not yet' unless $t->has_version('1.7.3'); |
105 | 105 |
106 like(http_get_inm('/cache/etag', $etag), qr/ 304 /, 'inm etag from cache'); | 106 like(http_get_inm('/cache/etag', $etag), qr/ 304 /, 'inm etag from cache'); |
107 | 107 |
108 } | 108 } |
109 | 109 |