Skip to content

HttpWebRequest allow returning redirect response #34560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 11, 2020

Conversation

centreboard
Copy link
Contributor

Throw WebException for 3xx responses only when AllowAutoRedirect = true

Fixes #1074

Throw WebException for 3xx responses only when `AllowAutoRedirect = true`

Fixes dotnet#1074
@davidsh davidsh requested a review from a team April 6, 2020 18:48
@davidsh davidsh added the tenet-compatibility Incompatibility with previous versions or .NET Framework label Apr 6, 2020
@davidsh davidsh added this to the 5.0 milestone Apr 6, 2020
Copy link
Contributor

@davidsh davidsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@davidsh davidsh merged commit 78643b9 into dotnet:master Apr 11, 2020
@centreboard centreboard deleted the allowAutoRedirect branch April 12, 2020 18:50
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net tenet-compatibility Incompatibility with previous versions or .NET Framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HttpWebRequest incorrectly throwing exception on 3xx responses
4 participants