0

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 ?

Community
  • 1
  • 1
Rahul Iyer
  • 19,924
  • 21
  • 96
  • 190
  • I don't see a broken link on that question or answer. Which link is broken? (I can probably fix it, if you point it out.) – apsillers Sep 17 '14 at 17:28
  • It appears that the link is working now, but yesterday there was some kind of server error. – Rahul Iyer Sep 18 '14 at 02:59

0 Answers0