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