mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Update README.md
added return true to the content provider get example, doesn't compile without it
This commit is contained in:
parent
55d04ee354
commit
9fb11986a5
1 changed files with 1 additions and 0 deletions
|
@ -196,6 +196,7 @@ int main(void)
|
|||
auto res = cli.Get("/large-data",
|
||||
[&](const char *data, uint64_t data_length) {
|
||||
body.append(data, data_length);
|
||||
return true;
|
||||
});
|
||||
|
||||
assert(res->body.empty());
|
||||
|
|
Loading…
Reference in a new issue