From f87194cbd7e79eef07c897a6240fbf2dc115f9ff Mon Sep 17 00:00:00 2001 From: ian woolf Date: Fri, 7 May 2021 16:31:00 +0800 Subject: [PATCH] doc/go1.17: document changes to net/http package Changes include: * ReadRequest function now returns an error when a request has multiple Host headers. For #44513. Updates #46015. Change-Id: I48ea7c5cee3f1d1a247035fd37191362a53d1f04 Reviewed-on: https://go-review.googlesource.com/c/go/+/317914 Reviewed-by: Dmitri Shuralyov Trust: Heschi Kreinick --- doc/go1.17.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/go1.17.html b/doc/go1.17.html index 5ab99c29edb..46ee1da6fa6 100644 --- a/doc/go1.17.html +++ b/doc/go1.17.html @@ -423,7 +423,8 @@ Do not send CLs removing the interior tags from such phrases.

- TODO: https://golang.org/cl/308952: make ReadRequest return an error when requests have multiple Host headers + The ReadRequest function + now returns an error when the request has multiple Host headers.