Twitter: Handle redirects
This commit is contained in:
parent
a7a6564630
commit
90eda384da
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ m_eProtocolType( twitCurlTypes::eTwitCurlProtocolHttp )
|
||||||
getLastCurlError( dummyStr );
|
getLastCurlError( dummyStr );
|
||||||
}
|
}
|
||||||
curl_easy_setopt(m_curlHandle, CURLOPT_VERBOSE, 1);
|
curl_easy_setopt(m_curlHandle, CURLOPT_VERBOSE, 1);
|
||||||
|
curl_easy_setopt(m_curlHandle, CURLOPT_FOLLOWLOCATION, 1);
|
||||||
curl_easy_setopt(m_curlHandle, CURLOPT_DEBUGFUNCTION, myDebugCallback);
|
curl_easy_setopt(m_curlHandle, CURLOPT_DEBUGFUNCTION, myDebugCallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue