We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents faafa5e + d2f1a78 commit da74ac4Copy full SHA for da74ac4
1 file changed
src/net/CurlHttpClient.cpp
@@ -29,6 +29,9 @@ std::string CurlHttpClient::makeRequest(const Url& url, const std::vector<HttpRe
29
auto curl = curl_easy_duphandle(curlSettings);
30
31
std::string u = url.protocol + "://" + url.host + url.path;
32
+ if (args.empty()) {
33
+ u += "?" + url.query;
34
+ }
35
curl_easy_setopt(curl, CURLOPT_URL, u.c_str());
36
37
// disable keep-alive
0 commit comments