We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d1373d commit 6679a71Copy full SHA for 6679a71
src/runtime.cpp
@@ -235,6 +235,7 @@ runtime::next_outcome runtime::get_next()
235
236
curl_slist* headers = nullptr;
237
headers = curl_slist_append(headers, get_user_agent_header().c_str());
238
+ curl_easy_setopt(m_curl_handle, CURLOPT_HTTPHEADER, headers);
239
240
logging::log_debug(LOG_TAG, "Making request to %s", m_endpoints[Endpoints::NEXT].c_str());
241
CURLcode curl_code = curl_easy_perform(m_curl_handle);
0 commit comments