Fix :host header bug

This commit is contained in:
MATSUMOTO Ryosuke 2013-12-31 20:51:34 +09:00
parent 73866124f3
commit 87f4f1d4f5
1 changed files with 1 additions and 1 deletions

View File

@ -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)
};