src/gui/lua/lua_curl.cpp set dumb cookie for dumb 403 forbidden

This commit is contained in:
Jacek Jendrzej
2017-01-28 17:55:14 +01:00
parent 2f1ceb07e2
commit 293d32c776

View File

@@ -267,7 +267,7 @@ Example:
curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 0L);
/* enable all supported built-in compressions */
curl_easy_setopt(curl_handle, CURLOPT_ACCEPT_ENCODING, "");
curl_easy_setopt(curl_handle, CURLOPT_COOKIE, "");
if (!userAgent.empty())
curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, userAgent.c_str());