Set CURLOPT_USERAGENT in requests (instead of leaving it blank)
parent
e6677a88cd
commit
8ac1af4aca
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue