What is the expected behavior by all browsers when an XHR receives a redirect ?
- Can it see the "redirected" (final) url ?
- Is it possible to hide the redirected url ?
- Is this behavior the same for all major browsers (Safari, i.e. ;), Chrome, Firefox)
Is there a standard spec, and how does one test this ?
This: Returning redirect as response to XHR request question doesn't say if the browser can see it, and the link to the spec is broken.
EDIT: Also, what happens if redirected to a url in a different domain, or even a subdomain , or even multiple redirects ?