You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this line in client.go causes some confusion in the default behavior of client.Do(). The documentation says that the default HTTP method of a request is GET and that, when clients issue GET requests, redirects will be followed.
It seems that the aforementioned line should include req.Method == ""
The text was updated successfully, but these errors were encountered:
here's a simple test that doesn't run in the play sandbox, but will run on your machine that allows outbound connections: http://play.golang.org/p/njZvpYq2WN
note the behavior change when uncommenting line 16
The method could be either one of the predefined methods or an extension method. I don't understand why do we support empty string as a method in the first place.
this line in client.go causes some confusion in the default behavior of client.Do(). The documentation says that the default HTTP method of a request is GET and that, when clients issue GET requests, redirects will be followed.
It seems that the aforementioned line should include
req.Method == ""
The text was updated successfully, but these errors were encountered: