cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: About redirection

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 8 Jan 2008 00:05:56 +0100 (CET)

On Tue, 8 Jan 2008, Merovingian wrote:

> Is it possible to get the address of the page where I was redirected to? I
> can't find any appropriate option or function.

curl_easy_getinfo's option CURLINFO_EFFECTIVE_URL should be exactly what you
want. If I understand you correctly.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-01-08