Mercurial > hg > nginx-tests
comparison h2_fastcgi_request_buffering.t @ 1251:766bcbb632ee
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 24 Nov 2017 19:58:40 +0300 |
parents | 882267679006 |
children | ea593a9bab09 |
comparison
equal
deleted
inserted
replaced
1250:b708848eb49a | 1251:766bcbb632ee |
---|---|
51 } | 51 } |
52 | 52 |
53 EOF | 53 EOF |
54 | 54 |
55 $t->run(); | 55 $t->run(); |
56 | |
57 my $f = get_body('/chunked'); | |
58 plan(skip_all => 'no unbuffered request body') unless $f; | |
59 $f->{http_end}(); | |
60 | |
61 $t->plan(48); | 56 $t->plan(48); |
62 | 57 |
63 ############################################################################### | 58 ############################################################################### |
64 | 59 |
65 # unbuffered request body to fastcgi | 60 # unbuffered request body to fastcgi |
66 | 61 |
67 $f = get_body('/'); | 62 my $f = get_body('/'); |
68 ok($f->{headers}, 'request'); | 63 ok($f->{headers}, 'request'); |
69 is($f->{upload}('01234', body_more => 1), '01234', 'part'); | 64 is($f->{upload}('01234', body_more => 1), '01234', 'part'); |
70 is($f->{upload}('56789'), '56789_eos', 'part 2'); | 65 is($f->{upload}('56789'), '56789_eos', 'part 2'); |
71 is($f->{http_end}(), 200, 'response'); | 66 is($f->{http_end}(), 200, 'response'); |
72 | 67 |