cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FOLLOWLOCATION - notify caller if followed

From: Pankaj Takawale <pankaj.takawale_at_gmail.com>
Date: Wed, 9 Mar 2011 18:34:40 -0500

I think CURLINFO_REDIRECT_COUNT should be useful.

On Wed, Mar 9, 2011 at 6:22 PM, Pankaj Takawale
<pankaj.takawale_at_gmail.com>wrote:

> I've setup CURLOPT_FOLLOWLOCATION curl option.
> Is there any way to know whether curl_easy_perform has followed new
> location due to http return code 302.
>
> If not, could you please point me to source code file/function where I can
> employ one callback routine to notify caller about such scenario.
>

-- 
Pankaj Takawale

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-10