Closed
Description
The HTTP client should quote the URL and protocol scheme consistently. Look at the result of this call to http.Get
with an empty URL string:
fmt.Println(http.Get(""))
// <nil> Get : unsupported protocol scheme ""
I can't immediately see that there's an empty string in this output, I only see that the protocol is empty.
What did you expect to see?
<nil> Get "": unsupported protocol scheme ""
What did you see instead?
<nil> Get : unsupported protocol scheme ""