Change "HTTP/3" to "HTTP/3.0". (#3439)

This commit is contained in:
Aaron Riekenberg
2022-06-02 12:33:06 -05:00
committed by GitHub
parent b5ef99a32c
commit 990b1fed38
4 changed files with 4 additions and 4 deletions

View File

@@ -330,7 +330,7 @@ func (c *client) doRequest(req *http.Request, str quic.Stream, opt RoundTripOpt,
connState := qtls.ToTLSConnectionState(c.conn.ConnectionState().TLS)
res := &http.Response{
Proto: "HTTP/3",
Proto: "HTTP/3.0",
ProtoMajor: 3,
Header: http.Header{},
TLS: &connState,