curl-library
Re: Query regarding redirected URL
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 22 Nov 2013 20:35:54 +0100
Date: Fri, 22 Nov 2013 20:35:54 +0100
On Fri, Nov 22, 2013 at 05:03:03PM +0800, Badri Narayanan wrote:
> Hi,
> I'm trying to grab the URL that my CPE is being re-directed to from the server
> using the function
> "CURLINFO_REDIRECTED_URL". However it returns a null value for me. Please help
> me out.
Can you show us the headers returned by the server? Note that this option only
returns URLs due to HTTP redirects, not HTML or JavaScript redirects.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-11-22