Name
easy:GetInfo_Redirect_URL -- get the URL a redirect would go to
Synopsis
urlp = easy:GetInfo_Redirect_URL()
Function
Returns the URL a redirect would take you to if you would enable #CURLOPT_FOLLOWLOCATION. This can come very handy if you think using the built-in libcurl redirect logic isn't good enough for you but you would still prefer to avoid implementing all the magic of figuring out the new URL.

This URL is also set if the #CURLOPT_MAXREDIRS limit prevented a redirect to happen (since 7.54.1).

Inputs
none

Results
urlp
output value

Show TOC