Skip to content
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

HTTPClient does not follow POST requests (feature request) #7156

Closed
AgainPsychoX opened this issue Mar 16, 2020 · 2 comments
Closed

HTTPClient does not follow POST requests (feature request) #7156

AgainPsychoX opened this issue Mar 16, 2020 · 2 comments

Comments

@AgainPsychoX
Copy link
Contributor

AgainPsychoX commented Mar 16, 2020

Feature request: HTTPClient stands for using HTTP 1.1 so it should allow to follow POST requests.

More information:
https://softwareengineering.stackexchange.com/questions/99894/why-doesnt-http-have-post-redirect

The RFC document mentioned in code require client confirmation to follow request with method other than GET and HEAD, so I propose additional flag to force follow the redirection (or extension to existing one, by enum?).

I will try to implement it tonight myself.

@AgainPsychoX
Copy link
Contributor Author

Please add [fixed-by-pr] by #7157 ?

@AgainPsychoX
Copy link
Contributor Author

Solved by #7157 , which had just merged :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant