Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: client does not quote URL consistently like "protocol scheme" in returned errors #38421
The HTTP client should quote the URL and protocol scheme consistently. Look at the result of this call to
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?
@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: