1
0
mirror of https://github.com/golang/go synced 2024-11-23 00:40:08 -07:00

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 <dmitshur@golang.org>
Trust: Heschi Kreinick <heschi@google.com>
This commit is contained in:
ian woolf 2021-05-07 16:31:00 +08:00 committed by Dmitri Shuralyov
parent 217f5dd496
commit f87194cbd7

View File

@ -423,7 +423,8 @@ Do not send CLs removing the interior tags from such phrases.
</p>
<p><!-- CL 308952 -->
TODO: <a href="https://golang.org/cl/308952">https://golang.org/cl/308952</a>: make ReadRequest return an error when requests have multiple Host headers
The <a href="/pkg/net/http/#ReadRequest"><code>ReadRequest</code></a> function
now returns an error when the request has multiple Host headers.
</p>
</dd>
</dl><!-- net/http -->