Tests: avoid empty DATA frame in h2_variables.t.
diff --git a/h2_variables.t b/h2_variables.t index b268b69..90f70d8 100644 --- a/h2_variables.t +++ b/h2_variables.t
@@ -50,7 +50,7 @@ return 200 $scheme; } location /https { - return 200 $https; + return 200 "body $https"; } location /rl { return 200 $request_length; @@ -98,7 +98,7 @@ $frames = $s->read(all => [{ sid => $sid, fin => 1 }]); ($frame) = grep { $_->{type} eq "DATA" } @$frames; -is($frame->{data}, '', 'https variable'); +is($frame->{data}, 'body ', 'https variable'); # $request_length, HEADERS payload length