Mercurial > hg > nginx-tests
comparison not_modified.t @ 419:f5f2a66853a9
Tests: adjust entity tag TODOs.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 26 Jun 2014 04:36:45 +0400 |
parents | 1bdd58f388f6 |
children | 37a46774e307 |
comparison
equal
deleted
inserted
replaced
418:861e6cad6299 | 419:f5f2a66853a9 |
---|---|
79 like(http_get_inm('/t', '"foo", "bar", ' . $etag . ' , "baz"'), qr/304/, | 79 like(http_get_inm('/t', '"foo", "bar", ' . $etag . ' , "baz"'), qr/304/, |
80 'if-none-match with complex list'); | 80 'if-none-match with complex list'); |
81 like(http_get_inm('/t', '*'), qr/304/, 'if-none-match all'); | 81 like(http_get_inm('/t', '*'), qr/304/, 'if-none-match all'); |
82 | 82 |
83 TODO: { | 83 TODO: { |
84 local $TODO = 'not yet'; | 84 local $TODO = 'not yet' unless $t->has_version('1.7.3'); |
85 | 85 |
86 like(http_get_inm('/t', 'W/' . $etag), qr/304/, 'if-none-match weak'); | 86 like(http_get_inm('/t', 'W/' . $etag), qr/304/, 'if-none-match weak'); |
87 | 87 |
88 } | 88 } |
89 | 89 |