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: 307 and 308 status codes should not change method on redirect #16840
I have gone through few golang issues on HTTP redirect.
Note: This status code is similar to 301 (Moved Permanently)
But with golang 1.7 I see that net http client is using HTTP GET when 307 or 308 response is seen. This violates the http rfc which says HTTP method will not be changed for 307 or 308 http response.