changeset 1297:a94a0fc60d56

Tests: avoid empty DATA frame in h2_variables.t.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 07 Mar 2018 19:03:37 +0300
parents 5d75938b2622
children 84a661563eae
files h2_variables.t
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h2_variables.t
+++ b/h2_variables.t
@@ -50,7 +50,7 @@ http {
             return 200 $scheme;
         }
         location /https {
-            return 200 $https;
+            return 200 "body $https";
         }
         location /rl {
             return 200 $request_length;
@@ -98,7 +98,7 @@ is($frame->{data}, 'http', 'scheme varia
 $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