From f90b4cd6554f4f20280aa5229cf42650ed47221d Mon Sep 17 00:00:00 2001 From: Dan Peterson Date: Sun, 21 May 2023 10:54:28 -0300 Subject: [PATCH] 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 --- doc/go1.21.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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.

-- 2.50.0