Fixed clang compilation and added support for making assertions and erros throw exceptions for easier testing.
This commit is contained in:
@@ -131,6 +131,7 @@ Task<StreamResult<HTTPResponse>> c_request(const URL& url, HTTPRequestOptions op
|
||||
#undef HANDLE_CURL_RESULT
|
||||
|
||||
HTTPResponse response = {
|
||||
.version = {},
|
||||
.body = std::move(body)
|
||||
};
|
||||
if (const curl::Result<int> httpVersion = easy.getHTTPVersion(); httpVersion.isSuccess())
|
||||
|
||||
Reference in New Issue
Block a user