Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Moschkin committed Feb 7, 2024
1 parent f7ff070 commit 3b1f256
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/networkhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ 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;
std::string thisres = uri.resource << "?" << uri.query;

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

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

0 comments on commit 3b1f256

Please sign in to comment.