I'm doing an ajax call to a URL that redirects. I can use the getAllResponseHeaders() but there is no location in the response.
Any ideas how to get the URL of the final location? I'm restricted to javascript because I'm used webview within iOS.
I'm doing an ajax call to a URL that redirects. I can use the getAllResponseHeaders() but there is no location in the response.
Any ideas how to get the URL of the final location? I'm restricted to javascript because I'm used webview within iOS.