HttpClient created by WebApplicationFactory doesn't follow HTTP status code 303 (See other) redirect #33218
Milestone
Comments
@ambrosmiroslav thanks for contacting us. We would be happy to take a PR for this including the change and a test to verify the change if you want to contribute it. |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The HttpClient created "manually" is able to follow HTTP status code 303 (See other) and jump to redirected page:
But the HttpClient retrieved from WebApplicationFactory isn't:
No matter the WebApplicationFactoryClientOptions are specified or not...
Could it be this HTTP status code is not mentioned in https://github.com/dotnet/aspnetcore/blob/main/src/Mvc/Mvc.Testing/src/Handlers/RedirectHandler.cs, see the function IsRedirect()?
The text was updated successfully, but these errors were encountered: