Is it seriously impossible to make an ajax request and have it *not* follow redirects, but instead give you back a response object telling you where the server wanted to redirect you to?
-
-
I wonder if "location" is a protected header not visible to JS
-
It's not, but your only options are "follow all redirects", "error", or "get back a thing that says we got a redirect response but does not let you inspect the response in any way shape or form"
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.