# HG changeset patch # User Andrey Zelenkov # Date 1465608163 -10800 # Node ID 235f796c2861e1ac5120a8565ec67c1e25c5a0b0 # Parent 0d4536093b394591d516fc5e8a56226330bee77f Tests: fixed h2.t test with default host header. The problem appeared after 0d4536093b39. diff --git a/h2.t b/h2.t --- a/h2.t +++ b/h2.t @@ -492,7 +492,7 @@ is($frame->{headers}->{'location'}, 'tex ($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