mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Updated README
This commit is contained in:
parent
dd20e4d418
commit
e0d327558d
2 changed files with 16 additions and 14 deletions
|
@ -1157,8 +1157,9 @@ TEST_F(ServerTest, ArrayParam) {
|
|||
}
|
||||
|
||||
TEST_F(ServerTest, NoMultipleHeaders) {
|
||||
Headers headers;
|
||||
headers.emplace("Content-Length", "5");
|
||||
Headers headers = {
|
||||
{ "Content-Length", "5" }
|
||||
};
|
||||
auto res = cli_.Post("/validate-no-multiple-headers", headers, "hello",
|
||||
"text/plain");
|
||||
ASSERT_TRUE(res != nullptr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue