Twitter: Handle redirects

This commit is contained in:
Jan Kaluza 2013-02-20 14:52:59 +01:00
parent a7a6564630
commit 90eda384da

View file

@ -41,6 +41,7 @@ m_eProtocolType( twitCurlTypes::eTwitCurlProtocolHttp )
getLastCurlError( dummyStr );
}
curl_easy_setopt(m_curlHandle, CURLOPT_VERBOSE, 1);
curl_easy_setopt(m_curlHandle, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(m_curlHandle, CURLOPT_DEBUGFUNCTION, myDebugCallback);
}