Commit ab1dd117 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpd: Fix typo :host, which should be host

parent 7bf5be9c
......@@ -763,7 +763,7 @@ void prepare_redirect_response(Stream *stream, Http2Handler *hd,
auto scheme = http2::get_unique_header(stream->headers, ":scheme");
auto authority = http2::get_unique_header(stream->headers, ":authority");
if (!authority) {
authority = http2::get_unique_header(stream->headers, ":host");
authority = http2::get_unique_header(stream->headers, "host");
}
auto redirect_url = scheme->value;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment