Mercurial > hg > nginx-tests
diff h2_cache.t @ 885:a1e76cca714c
Tests: fixed HTTP/2 tests with proxy cache after a6abbfed42c0.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 25 Mar 2016 04:49:25 +0300 |
parents | d1b94c1127d6 |
children | 3ac4036b139d |
line wrap: on
line diff
--- a/h2_cache.t +++ b/h2_cache.t @@ -92,6 +92,8 @@ is($frame->{data}, 'SEE-THIS', 'proxy ca ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; is($frame->{headers}->{':status'}, 304, 'proxy cache conditional'); +$t->write_file('t.html', 'SEE-THIS'); + # request body with cached response $sid = new_stream($sess, { path => '/cache/t.html', body_more => 1 });