Closed as not planned
Closed as not planned
Description
Quote from: src/net/http/request.go#ParseHTTPVersion
Note that strings without
// a minor version, such as "HTTP/2", are not valid.
What version of Go are you using (go version
)?
$ go version 1.17
Does this issue reproduce with the latest release?
Yes
What did you expect to see?
ParseHTTPVersion("HTTP/2") -> 2, 0, true
What did you see instead?
ParseHTTPVersion("HTTP/2") -> 0, 0, false