Set CURLOPT_USERAGENT in requests (instead of leaving it blank)

master
Pork Chop 2023-06-30 00:16:23 +10:00
parent e6677a88cd
commit 8ac1af4aca
1 changed files with 1 additions and 0 deletions

View File

@ -525,6 +525,7 @@ HttpStatus HttpOpRequest::prepareRequest(HttpService * service)
check_curl_easy_setopt(mCurlHandle, CURLOPT_SEEKDATA, getHandle());
check_curl_easy_setopt(mCurlHandle, CURLOPT_COOKIEFILE, "");
check_curl_easy_setopt(mCurlHandle, CURLOPT_USERAGENT, "Firestorm");
if (gpolicy.mSslCtxCallback)
{