mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
src/gui/lua/lua_curl.cpp set dumb cookie for dumb 403 forbidden
This commit is contained in:
@@ -267,7 +267,7 @@ Example:
|
|||||||
curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 0L);
|
curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 0L);
|
||||||
/* enable all supported built-in compressions */
|
/* enable all supported built-in compressions */
|
||||||
curl_easy_setopt(curl_handle, CURLOPT_ACCEPT_ENCODING, "");
|
curl_easy_setopt(curl_handle, CURLOPT_ACCEPT_ENCODING, "");
|
||||||
|
curl_easy_setopt(curl_handle, CURLOPT_COOKIE, "");
|
||||||
if (!userAgent.empty())
|
if (!userAgent.empty())
|
||||||
curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, userAgent.c_str());
|
curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, userAgent.c_str());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user