I'm using Google Closure's Xhrio facilities to send a POST request to a URL. When the response to this request is a 302 redirect, I'd like to redirect the user's browser to the URL being redirected to.
I've tried calling getLastUri
on the object passed to the callback, but that returns the URI of the request, rather than that of the subsequent redirection. getStatus
returns 200. I know that the request is being properly redirected, because I can see it in Chrome's Network request viewer.