Mercurial > hg > nginx-tests
comparison proxy_merge_headers.t @ 188:101b092b67e2
Tests: header merge bugs fixed 1.1.8/1.0.11, remove TODO.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 15 Dec 2011 18:48:11 +0300 |
parents | 23f81eb0a817 |
children | f9325406df0b |
comparison
equal
deleted
inserted
replaced
187:eb4c40260ee7 | 188:101b092b67e2 |
---|---|
77 ############################################################################### | 77 ############################################################################### |
78 | 78 |
79 like(http_get_ims('/'), qr/ims=;blah=blah;/, | 79 like(http_get_ims('/'), qr/ims=;blah=blah;/, |
80 'if-modified-since cleared with cache'); | 80 'if-modified-since cleared with cache'); |
81 | 81 |
82 TODO: { | |
83 local $TODO = 'not yet'; | |
84 | |
85 like(http_get_ims('/no/'), qr/ims=blah;blah=blah;/, | 82 like(http_get_ims('/no/'), qr/ims=blah;blah=blah;/, |
86 'if-modified-since preserved without cache'); | 83 'if-modified-since preserved without cache'); |
87 | 84 |
88 } | |
89 | |
90 TODO: { | |
91 local $TODO = 'not yet'; | |
92 | |
93 like(http_get_ims('/setbody/'), qr/blah=blah;/, | 85 like(http_get_ims('/setbody/'), qr/blah=blah;/, |
94 'proxy_set_header inherited with proxy_set_body'); | 86 'proxy_set_header inherited with proxy_set_body'); |
95 | |
96 } | |
97 | 87 |
98 ############################################################################### | 88 ############################################################################### |
99 | 89 |
100 sub http_get_ims { | 90 sub http_get_ims { |
101 my ($url) = @_; | 91 my ($url) = @_; |