Merge pull request #6486 from CaptV0rt3x/httplib

externals: httplib: replace custom httplib header with upstream as submodule
This commit is contained in:
Mai M 2021-06-21 11:56:33 -04:00 committed by GitHub
commit 83ac715e76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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", ""};
}