comparison h2_request_body.t @ 1070:efccab043dd3

Tests: removed TODOs for fixes merged in 1.10.2.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 24 Oct 2016 15:59:23 +0300
parents 196d33c2bb45
children a5e428f4440d
comparison
equal deleted inserted replaced
1069:1b11a12be179 1070:efccab043dd3
149 $sid = $s->new_stream({ path => '/proxy2/' }); 149 $sid = $s->new_stream({ path => '/proxy2/' });
150 $frames = $s->read(all => [{ sid => $sid, fin => 1 }]); 150 $frames = $s->read(all => [{ sid => $sid, fin => 1 }]);
151 151
152 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; 152 ($frame) = grep { $_->{type} eq "HEADERS" } @$frames;
153 is($frame->{headers}->{':status'}, 200, 'request without body'); 153 is($frame->{headers}->{':status'}, 200, 'request without body');
154
155 TODO: {
156 local $TODO = 'not yet' unless $t->has_version('1.11.2');
157
158 is($frame->{headers}->{'x-length'}, undef, 154 is($frame->{headers}->{'x-length'}, undef,
159 'request without body - content length'); 155 'request without body - content length');
160
161 }
162 156
163 # request body discarded 157 # request body discarded
164 # RST_STREAM with zero code received 158 # RST_STREAM with zero code received
165 159
166 TODO: { 160 TODO: {