net/http: disabling HTTP/2 as per documentation does not work #39302
Labels
Documentation
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I set up an
http.Transport
with a non-nil, empty map forTLSNextProto
in order to disable HTTP/2, as per the documentation.https://golang.org/pkg/net/http/
What did you expect to see?
I expected it to do HTTP/1.1 over TLS.
What did you see instead?
The text was updated successfully, but these errors were encountered: