From: Dan Peterson Date: Sun, 21 May 2023 13:54:28 +0000 (-0300) Subject: doc: fill out net/http.ErrSchemeMismatch note X-Git-Tag: go1.21rc1~217 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f90b4cd6554f4f20280aa5229cf42650ed47221d;p=gostls13.git doc: fill out net/http.ErrSchemeMismatch note For #44855 Change-Id: I517394b227ea948ed3e1f9ffdaab2bb2676863c8 Reviewed-on: https://go-review.googlesource.com/c/go/+/496795 TryBot-Bypass: Dmitri Shuralyov Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov Run-TryBot: Ian Lance Taylor --- diff --git a/doc/go1.21.html b/doc/go1.21.html index 040a12c682..6f37f7d11b 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -582,12 +582,8 @@ Do not send CLs removing the interior tags from such phrases.
net/http
-

- TODO: https://go.dev/issue/44855: add ErrSchemeMismatch -

- -

- TODO: https://go.dev/cl/382117: net/http: expose "http: server gave HTTP response to HTTPS client" error; modified api/next/44855.txt +

+ The new ErrSchemeMismatch error is returned by Client and Transport when the server responds to an HTTPS request with an HTTP response.