ASP.NET Web API - Response with status code "Redirect (302)" doesn't work on Internet Explorer 10

1.2k views Asked by At

I create a request response with status code "Redirect (302)" without the URL to redirect.

private HttpResponseMessage Verify(HttpActionContext actionContext)
{
    ...

    return actionContext.Request.CreateResponse(HttpStatusCode.Redirect, "Credentials not found!");
}

The response on Internet Explorer 10 return the status "(Abort)" rather than "Redirect" and in the other browsers (Chrome and Firefox) returns correctly.

0

There are 0 answers