cURL / Mailing Lists / curl-library / Single Mail

curl-library

following server redirections

From: C.Alvarez <carlos_at_ref2000.com>
Date: Tue, 21 Jun 2005 16:27:46 +0200

Hello,

How does the redirection following is made ? Is this library able to follow 301 or 302 server redirections ?

I have tried setting this

curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_MAXREDIRS, 1);
curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);

But this doesn't seems to redirect my page.
here the testing url I have tried http://www.shopzilla.fr/mkt.xpml?mkt_id=25925767

Should I need to read the headers to get the redirections ?
Received on 2005-06-21