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:
Vortex 2021-06-19 00:18:53 +05:30
parent 3870ba670f
commit e704da9192
6 changed files with 7 additions and 6731 deletions

View file

@ -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", ""};
}