TSG-10225 修复应答码为103时,应答头重复问题

This commit is contained in:
fengweihao
2022-04-15 15:26:53 +08:00
parent 8e6155ef31
commit 6a3499dbf3
3 changed files with 65 additions and 32 deletions

View File

@@ -68,7 +68,7 @@ void UT_Parse_ReqHeaders(nghttp2_session *as_server)
struct tfe_http_req_spec *req_spec = &tfe_half->req_spec;
/* PUBLIC FIELD */
EXPECT_EQ(req_spec->method, NGHTTP2_METHOD_GET);
EXPECT_EQ(req_spec->method, HTTP_REQUEST_METHOD_GET);
EXPECT_STREQ(req_spec->uri, "/");
EXPECT_STREQ(req_spec->url, "www.jd.com/");
EXPECT_STREQ(req_spec->host, "www.jd.com");