remove curl submodule, add it as an external dependency

This commit is contained in:
Lion Kortlepel
2021-08-09 13:28:44 +02:00
committed by Lion
parent cee824ad46
commit b0475f262f
3 changed files with 10 additions and 19 deletions

View File

@@ -123,6 +123,11 @@ std::string Http::POST(const std::string& host, const std::string& target, const
beast::flat_buffer buffer;
http::response<http::string_body> response;
auto BackendName = response.base().find("Date");
if (BackendName != response.base().end()) {
Application::Console().Write("HTTP POST: Date is " + std::string(BackendName->value()));
}
http::read(stream, buffer, response);
std::stringstream result;