Fix :host header bug
This commit is contained in:
parent
73866124f3
commit
87f4f1d4f5
|
@ -528,7 +528,7 @@ static void submit_request(struct Connection *connection, struct Request *req)
|
|||
MAKE_NV(":method", "GET"),
|
||||
MAKE_NV_CS(":path", req->path),
|
||||
MAKE_NV(":scheme", "https"),
|
||||
MAKE_NV_CS(":host", req->hostport),
|
||||
MAKE_NV_CS(":authority", req->hostport),
|
||||
MAKE_NV("accept", "*/*"),
|
||||
MAKE_NV("user-agent", "nghttp2/"NGHTTP2_VERSION)
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue