Hi all,
I haven’t had much luck finding a solution to this so I am hoping someone here can help me. I am making calls using xmlhttprequest which works fine unless there is a redirect. When I hit a 302 redirect what I need to do is get the new location. I have tried getting it from the headers but location isn’t in there so no luck. Since i know which urls are going to be redirected I want to have a ‘lookup’ function that only tries to find the new location for these urls. So by saying that I mean that if I need to use something else besides xmlhttprequest for this function that isn’t a problem (really anything in javascript and not server side reliant). I know the redirect is transparent but I would think there would be some way to get the new location once the redirect is complete.
Thanks for any help.