cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: what is an "effective url"?

From: Emil Romanus <emil.romanus_at_gmail.com>
Date: Fri, 25 Jul 2008 19:18:00 +0200

2008/7/25 Ralph Mitchell <ralphmitchell_at_gmail.com>:
> The "effective url" is the url of that final page.
>

Speaking of effective URL, is it safe to simply compare the pointer
with this value? If there was no redirect, should the pointer equal
the pointer I gave libcurl through CURLOPT_URL? I'm looking for a fast
way of determining whether a redirect happened during the last
transfer.
Received on 2008-07-25