net/http: client does not quote URL consistently like "protocol scheme" in returned errors #38421
Labels
Comments
@as which version are you using? I've tested locally with
I've checked https://play.golang.org/p/ppBzVyfctb6 and I'm getting there:
|
The issue is not reproducible in the latest version. At the time of writing, the playground link successfully reproduced it (week ago). As of the latest version, it does not. Closing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: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?
What did you see instead?
https://play.golang.org/p/ppBzVyfctb6
The text was updated successfully, but these errors were encountered: