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.
The text was updated successfully, but these errors were encountered: