curl-library
Re: what is an "effective url"?
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 25 Jul 2008 10:51:20 -0700
Date: Fri, 25 Jul 2008 10:51:20 -0700
On Fri, Jul 25, 2008 at 07:18:00PM +0200, Emil Romanus wrote:
> 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.
I doubt this will work. Recent versions of libcurl make a copy of all passed-
in strings so the pointer will be different even without a redirect.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-07-25