Mercurial > hg > nginx-tests
comparison proxy_cache_vary.t @ 476:4e335141aa4b
Tests: fix head() remnants in Vary tests.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 16 Oct 2014 23:36:04 +0400 |
parents | 8816a0edfc7b |
children | fec6dc7e0fc3 |
comparison
equal
deleted
inserted
replaced
475:c872b2c9645f | 476:4e335141aa4b |
---|---|
155 like(get('/', 'deflate'), qr/EXPIRED/ms, 'bump4'); | 155 like(get('/', 'deflate'), qr/EXPIRED/ms, 'bump4'); |
156 | 156 |
157 TODO: { | 157 TODO: { |
158 local $TODO = 'not yet'; | 158 local $TODO = 'not yet'; |
159 | 159 |
160 like(head('/', 'gzip'), qr/MISS/ms, 'first not bumped by second requests'); | 160 like(get('/', 'gzip'), qr/MISS/ms, 'first not bumped by second requests'); |
161 | 161 |
162 } | 162 } |
163 | 163 |
164 like(head('/', 'deflate'), qr/HIT/ms, 'second variant cached'); | 164 like(get('/', 'deflate'), qr/HIT/ms, 'second variant cached'); |
165 | 165 |
166 } | 166 } |
167 | 167 |
168 # if a response without Vary is returned to replace previously returned | 168 # if a response without Vary is returned to replace previously returned |
169 # responses with Vary, make sure it is then used in all cases | 169 # responses with Vary, make sure it is then used in all cases |