Mercurial > hg > nginx-tests
changeset 943:0d4536093b39
Tests: changed default HTTP2 host header to localhost.
This simplification is consistent to the host headers used in other places.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Fri, 10 Jun 2016 16:15:55 +0300 |
parents | 8582afc64efa |
children | 235f796c2861 |
files | lib/Test/Nginx/HTTP2.pm |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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} || '/';