locked
Disable WinJs.xhr Auto redirect when 302 status code is hit RRS feed

  • Question

  • In windows 8 metro app if i send a winjs.xhr (ajax) request to http://abc.com and that domain's response is auto redirect 302 to to http://xyz.com,

    then winjs automatically follows the redirect and comes with the result of xyz.com (2nd domain), i want to stop the behavior and read the response i get from I st request before the redirect.

    Sunday, July 14, 2013 11:58 AM

Answers