mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-14 16:58:30 +00:00
Fix #860
This commit is contained in:
parent
bc80d7c789
commit
cf475bcb50
2 changed files with 2 additions and 1 deletions
|
@ -1644,6 +1644,7 @@ TEST_F(ServerTest, GetMethod200) {
|
|||
ASSERT_TRUE(res);
|
||||
EXPECT_EQ("HTTP/1.1", res->version);
|
||||
EXPECT_EQ(200, res->status);
|
||||
EXPECT_EQ("OK", res->reason);
|
||||
EXPECT_EQ("text/plain", res->get_header_value("Content-Type"));
|
||||
EXPECT_EQ(1, res->get_header_value_count("Content-Type"));
|
||||
EXPECT_EQ("Hello World!", res->body);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue