Skip to content

Commit

Permalink
doc/go1.17: document changes to net/http package
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ianwoolf authored and dmitshur committed May 21, 2021
1 parent 217f5dd commit f87194c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/go1.17.html
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,8 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
</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 -->
Expand Down

0 comments on commit f87194c

Please sign in to comment.