mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-16 10:49:36 +00:00
Fixed problem with connection close
This commit is contained in:
1 parent
312a8d7523
commit
7b9d752583
2 files changed
+46
-30
No files matched your search
@@ -393,6 +393,7 @@ TEST_F(ServerTest, GetMethod200)
|
||||
EXPECT_EQ("HTTP/1.1", res->version);
|
||||
EXPECT_EQ(200, res->status);
|
||||
EXPECT_EQ("text/plain", res->get_header_value("Content-Type"));
|
||||
EXPECT_EQ("close", res->get_header_value("Connection"));
|
||||
EXPECT_EQ("Hello World!", res->body);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user