mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Fixed warnings
This commit is contained in:
parent
5e01587ed6
commit
eb1fe5b191
1 changed files with 3 additions and 4 deletions
|
@ -566,8 +566,8 @@ TEST(DigestAuthTest, FromHTTPWatch) {
|
|||
EXPECT_EQ(400, res->status);
|
||||
}
|
||||
|
||||
// NOTE: Until httpbin.org fixes issue #46, the following test is commented out.
|
||||
// Plese see https://httpbin.org/digest-auth/auth/hello/world
|
||||
// NOTE: Until httpbin.org fixes issue #46, the following test is commented
|
||||
// out. Plese see https://httpbin.org/digest-auth/auth/hello/world
|
||||
// cli.set_digest_auth("bad", "world");
|
||||
// for (auto path : paths) {
|
||||
// auto res = cli.Get(path.c_str());
|
||||
|
@ -2091,8 +2091,7 @@ TEST_F(ServerTest, KeepAlive) {
|
|||
Get(requests, "/not-exist");
|
||||
Post(requests, "/empty", "", "text/plain");
|
||||
Post(
|
||||
requests, "/empty", 0,
|
||||
[&](size_t offset, size_t length, httplib::DataSink &sink) {},
|
||||
requests, "/empty", 0, [&](size_t, size_t, httplib::DataSink &) {},
|
||||
"text/plain");
|
||||
|
||||
std::vector<Response> responses;
|
||||
|
|
Loading…
Reference in a new issue