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

net/http: PostForm does redirect automatically #5542

Closed
gopherbot opened this issue May 22, 2013 · 2 comments
Closed

net/http: PostForm does redirect automatically #5542

gopherbot opened this issue May 22, 2013 · 2 comments

Comments

@gopherbot
Copy link

by pavolzetor:

Hi, I upgraded to go 1.1 and after it, if I use PostForm from net/http package, it
redirects automatically, in go 1.0 it return 302 status instead

Thanks
@ianlancetaylor
Copy link
Contributor

Comment 1:

Well, yes.  This is intentional.
See issue #4145.

Status changed to WorkingAsIntended.

@gopherbot
Copy link
Author

Comment 2 by pavolzetor:

Thank you, I used Request to get URL

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants