Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: 301 redirects to site with https to after a 303 redirect from a POST request don't work #21426
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
Hello there @zhuqiuzhi, this bug is fixed on Go1.8 and above, please update. It successfully redirects as you'll see in my screenshot below
We worked on redirects with CLs https://go-review.googlesource.com/c/29852, https://go-review.googlesource.com/c/35633, https://go-review.googlesource.com/c/34657 and numerous other ones during the 1.8 cycle.
I'll close this issue, but please feel free to reopen if the problem persists. It'd also be nice to update since there are lots of bug fixes and great features that have been added since Go1.8; we'll soon be releasing Go1.9, which will mean that supporting Go1.6, Go1.7 is going to be even harder.