Mercurial > hg > nginx-tests
comparison gzip.t @ 98:b8b901f86518
Tests: Last-Modified and Accept-Ranges fixed in 0.8.7, remove TODO.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 26 Jul 2009 09:04:49 +0400 |
parents | 5276d85d5040 |
children | 8bc9de6559a1 |
comparison
equal
deleted
inserted
replaced
97:506586cc2f3b | 98:b8b901f86518 |
---|---|
75 http_gzip_like($r, qr/^X{64}\Z/, 'gzip proxied content'); | 75 http_gzip_like($r, qr/^X{64}\Z/, 'gzip proxied content'); |
76 | 76 |
77 # Accept-Ranges headers should be cleared | 77 # Accept-Ranges headers should be cleared |
78 | 78 |
79 unlike(http_gzip_request('/'), qr/Accept-Ranges/im, 'cleared accept-ranges'); | 79 unlike(http_gzip_request('/'), qr/Accept-Ranges/im, 'cleared accept-ranges'); |
80 | |
81 TODO: { | |
82 local $TODO = 'broken since 0.7.44'; | |
83 | |
84 unlike(http_gzip_request('/proxy/'), qr/Accept-Ranges/im, | 80 unlike(http_gzip_request('/proxy/'), qr/Accept-Ranges/im, |
85 'cleared headers from proxy'); | 81 'cleared headers from proxy'); |
86 | 82 |
87 } | |
88 | |
89 ############################################################################### | 83 ############################################################################### |