comparison proxy_cache_use_stale.t @ 1186:0352ed25af20

Tests: converted UTF-8 character to ASCII, no functional changes.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 07 Jun 2017 18:10:54 +0300
parents 660147bfe68c
children 3ca5b0081bc6
comparison
equal deleted inserted replaced
1185:368ab1d8ed8b 1186:0352ed25af20
173 173
174 like(http_get('/t5.html?e=1'), qr/STALE/, 174 like(http_get('/t5.html?e=1'), qr/STALE/,
175 's-w-r - foreground revalidate error'); 175 's-w-r - foreground revalidate error');
176 like(http_get('/t5.html'), qr/REVALIDATED/, 's-w-r - foreground revalidated'); 176 like(http_get('/t5.html'), qr/REVALIDATED/, 's-w-r - foreground revalidated');
177 177
178 # UPDATING while s–w-r 178 # UPDATING while s-w-r
179 179
180 $t->write_file('t6.html', 'SEE-THAT'); 180 $t->write_file('t6.html', 'SEE-THAT');
181 181
182 my $s = get('/t6.html', 'max-age=1, stale-while-revalidate=2', start => 1); 182 my $s = get('/t6.html', 'max-age=1, stale-while-revalidate=2', start => 1);
183 select undef, undef, undef, 0.2; 183 select undef, undef, undef, 0.2;