cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: can curllib tell me the new url when it gets redirected?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 22 Oct 2008 08:54:20 -0700

On Wed, Oct 22, 2008 at 04:41:41PM +0200, Jan wrote:
> is there any possibility that libcurl will tell me the new url when a page got
> redirected?

See curl_easy_getinfo CURLINFO_REDIRECT_URL. Also curl_easy_setopt
CURLOPT_FOLLOWLOCATION.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-10-22