Mercurial > hg > nginx-tests
comparison charset_gzip_static.t @ 401:2961a6a83809
Tests: fixed charset_gzip_static.t tests.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 16 May 2014 20:30:36 +0400 |
parents | c6ab68c41c8c |
children | 25c9cd16ae04 |
comparison
equal
deleted
inserted
replaced
400:98d9b06b087b | 401:2961a6a83809 |
---|---|
148 'proxy recode plain'); | 148 'proxy recode plain'); |
149 | 149 |
150 TODO: { | 150 TODO: { |
151 local $TODO = 'not yet'; | 151 local $TODO = 'not yet'; |
152 | 152 |
153 like(http_gzip_request('/p.ab/t.html'), qr!text/html\x0d; charset=.*gzip!ms, | 153 like(http_gzip_request('/p.ab/t.html'), qr!text/html\x0d.*gzip!ms, |
154 'proxy recode gzip'); | 154 'proxy recode gzip'); |
155 | 155 |
156 } | 156 } |
157 | 157 |
158 like(http_get('/p.aa/gz.html'), qr!text/html; charset=A!ms, | 158 like(http_get('/p.aa/t.html'), qr!text/html; charset=A!ms, |
159 'proxy nullrecode plain'); | 159 'proxy nullrecode plain'); |
160 | 160 |
161 TODO: { | 161 TODO: { |
162 local $TODO = 'not yet'; | 162 local $TODO = 'not yet'; |
163 | 163 |
164 like(http_gzip_request('/p.aa/gz.html'), qr!text/html\x0d; charset=.*gzip!ms, | 164 like(http_gzip_request('/p.aa/t.html'), qr!text/html; charset=A.*gzip!ms, |
165 'proxy nullrecode gzip'); | 165 'proxy nullrecode gzip'); |
166 | 166 |
167 } | 167 } |
168 | 168 |
169 ############################################################################### | 169 ############################################################################### |