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
However, when I attempt to make an HTTP request (using http.DefaultClient.Do()) with Method set to an empty string, I wind up with the following error:
net/http: invalid method ""
Details
$ go version
go version devel +6bf794a Wed Nov 18 19:00:45 2015 +0000 linux/amd64
The text was updated successfully, but these errors were encountered:
The documentation for
http.Request
clearly states:However, when I attempt to make an HTTP request (using
http.DefaultClient.Do()
) withMethod
set to an empty string, I wind up with the following error:Details
The text was updated successfully, but these errors were encountered: