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.
- 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.