FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » cURL and response code 302
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: cURL and response code 302 [message #182090 is a reply to message #182089] Mon, 08 July 2013 16:02 Go to previous messageGo to previous message
Daniel Pitts is currently offline  Daniel Pitts
Messages: 68
Registered: May 2012
Karma:
Member
On 7/8/13 8:35 AM, bill wrote:
> when I have cUrl seet up with CURLOPT_FOLLOWLOCATION =>FALSE,
> I am getting a 302, moved temporarily.
>
> How do I find out the URL it is being redirected to ?
> The effectiveURL that is returned is the one I sent the request to.
>
> bill

The "Location" response header contains the desired URL.

See:
<http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Install Apache Php Windows 64 bit
Next Topic: Heartbleed bug?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 18:08:39 GMT 2024

Total time taken to generate the page: 0.04177 seconds