Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Moschkin committed Feb 7, 2024
1 parent 5c4a692 commit f7ff070
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/networkhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@ bool NetworkHelper::downloadUrl(const std::string &url, std::function<bool(std::
{
auto uri = parseURI(url);
std::cout << "Request downloadUrl: " << url << "\r\n";

std::string resource = uri.resource << "?" << uri.query;

http::request<http::string_body> req{http::verb::get, uri.resource << "?" << uri.query, 11};
http::request<http::string_body> req{http::verb::get, uri.resource, 11};

// Declare a container to hold the response
http::response<http::vector_body<uint8_t>> res;
Expand Down

0 comments on commit f7ff070

Please sign in to comment.