Return a redirect error if a redirect occurs in an asynchronous request on iOS