Mercurial > hg > nginx-tests
comparison scgi_merge_params.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 | a7cc4371f4ad |
comparison
equal
deleted
inserted
replaced
187:eb4c40260ee7 | 188:101b092b67e2 |
---|---|
73 | 73 |
74 ############################################################################### | 74 ############################################################################### |
75 | 75 |
76 like(http_get_ims('/'), qr/ims=;/, | 76 like(http_get_ims('/'), qr/ims=;/, |
77 'if-modified-since cleared with cache'); | 77 'if-modified-since cleared with cache'); |
78 | |
79 TODO: { | |
80 local $TODO = 'not yet'; | |
81 | |
82 like(http_get_ims('/'), qr/iums=;/, | 78 like(http_get_ims('/'), qr/iums=;/, |
83 'if-unmodified-since cleared with cache'); | 79 'if-unmodified-since cleared with cache'); |
84 | |
85 } | |
86 | |
87 like(http_get_ims('/'), qr/blah=blah;/, | 80 like(http_get_ims('/'), qr/blah=blah;/, |
88 'custom params with cache'); | 81 'custom params with cache'); |
89 | 82 |
90 TODO: { | |
91 local $TODO = 'not yet'; | |
92 | |
93 like(http_get_ims('/no/'), qr/ims=blah;/, | 83 like(http_get_ims('/no/'), qr/ims=blah;/, |
94 'if-modified-since preserved without cache'); | 84 'if-modified-since preserved without cache'); |
95 | |
96 } | |
97 | |
98 like(http_get_ims('/no/'), qr/iums=blah;/, | 85 like(http_get_ims('/no/'), qr/iums=blah;/, |
99 'if-unmodified-since preserved without cache'); | 86 'if-unmodified-since preserved without cache'); |
100 like(http_get_ims('/'), qr/blah=blah;/, | 87 like(http_get_ims('/'), qr/blah=blah;/, |
101 'custom params without cache'); | 88 'custom params without cache'); |
102 | 89 |
103 like(http_get_ims('/custom/'), qr/ims=;/, | 90 like(http_get_ims('/custom/'), qr/ims=;/, |
104 'if-modified-since cleared with cache custom'); | 91 'if-modified-since cleared with cache custom'); |
105 | |
106 TODO: { | |
107 local $TODO = 'not yet'; | |
108 | |
109 like(http_get_ims('/custom/'), qr/iums=;/, | 92 like(http_get_ims('/custom/'), qr/iums=;/, |
110 'if-unmodified-since cleared with cache custom'); | 93 'if-unmodified-since cleared with cache custom'); |
111 } | |
112 | |
113 like(http_get_ims('/custom/'), qr/blah=custom;/, | 94 like(http_get_ims('/custom/'), qr/blah=custom;/, |
114 'custom params with cache custom'); | 95 'custom params with cache custom'); |
115 | 96 |
116 ############################################################################### | 97 ############################################################################### |
117 | 98 |