externals: httplib: replace custom httplib header with upstream as submodule.
This also includes a minor change to web_service.cpp - to fix compatibility with upstream changes.
This commit is contained in:
parent
3870ba670f
commit
e704da9192
6 changed files with 7 additions and 6731 deletions
|
@ -100,8 +100,9 @@ struct Client::Impl {
|
|||
request.body = data;
|
||||
|
||||
httplib::Response response;
|
||||
httplib::Error error;
|
||||
|
||||
if (!cli->send(request, response)) {
|
||||
if (!cli->send(request, response, error)) {
|
||||
LOG_ERROR(WebService, "{} to {} returned null", method, host + path);
|
||||
return WebResult{WebResult::Code::LibError, "Null response", ""};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue