Mercurial > hg > nginx-tests
changeset 944:235f796c2861
Tests: fixed h2.t test with default host header.
The problem appeared after 0d4536093b39.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Sat, 11 Jun 2016 04:22:43 +0300 |
parents | 0d4536093b39 |
children | d73bef563aea |
files | h2.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/h2.t Fri Jun 10 16:15:55 2016 +0300 +++ b/h2.t Sat Jun 11 04:22:43 2016 +0300 @@ -492,7 +492,7 @@ ($frame) = grep { $_->{type} eq "HEADERS" } @$frames; is($frame->{headers}->{':status'}, 301, 'return 301 relative - status'); -is($frame->{headers}->{'location'}, 'http://127.0.0.1:8080/', +is($frame->{headers}->{'location'}, 'http://localhost:8080/', 'return 301 relative - location'); # return 301 with relative URI and ':authority' request header field