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:
		@@ -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", ""};
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user