1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-20 01:14:20 +00:00

Enabled cookies in the juce curl backend to align the behaviour with other platforms

This commit is contained in:
hogliux 2016-10-28 09:08:57 +01:00
parent 15bed81f87
commit f415b09c7b

View file

@ -143,7 +143,8 @@ private:
&& curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, StaticCurlWrite) == CURLE_OK
&& curl_easy_setopt (curl, CURLOPT_MAXREDIRS, static_cast<long> (maxRedirects)) == CURLE_OK
&& curl_easy_setopt (curl, CURLOPT_USERAGENT, userAgent.toRawUTF8()) == CURLE_OK
&& curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, (maxRedirects > 0 ? 1 : 0)) == CURLE_OK)
&& curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, (maxRedirects > 0 ? 1 : 0)) == CURLE_OK
&& curl_easy_setopt (curl, CURLOPT_COOKIEFILE, "") == CURLE_OK)
{
if (isPost)
{