# HG changeset patch # User Andrey Zelenkov # Date 1465564555 -10800 # Node ID 0d4536093b394591d516fc5e8a56226330bee77f # Parent 8582afc64efa3d2b25551e7a42943a3fa47df959 Tests: changed default HTTP2 host header to localhost. This simplification is consistent to the host headers used in other places. diff --git a/lib/Test/Nginx/HTTP2.pm b/lib/Test/Nginx/HTTP2.pm --- a/lib/Test/Nginx/HTTP2.pm +++ b/lib/Test/Nginx/HTTP2.pm @@ -166,7 +166,7 @@ sub new_stream { $ctx->{headers} = ''; - my $host = $uri->{host} || '127.0.0.1:8080'; + my $host = $uri->{host} || 'localhost'; my $method = $uri->{method} || 'GET'; my $scheme = $uri->{scheme} || 'http'; my $path = $uri->{path} || '/';