Skip to content

Commit f87194c

Browse files
ianwoolfdmitshur
authored andcommitted
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 golang#44513. Updates golang#46015. Change-Id: I48ea7c5cee3f1d1a247035fd37191362a53d1f04 Reviewed-on: https://go-review.googlesource.com/c/go/+/317914 Reviewed-by: Dmitri Shuralyov <[email protected]> Trust: Heschi Kreinick <[email protected]>
1 parent 217f5dd commit f87194c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

doc/go1.17.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,8 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
423423
</p>
424424

425425
<p><!-- CL 308952 -->
426-
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
426+
The <a href="/pkg/net/http/#ReadRequest"><code>ReadRequest</code></a> function
427+
now returns an error when the request has multiple Host headers.
427428
</p>
428429
</dd>
429430
</dl><!-- net/http -->

0 commit comments

Comments
 (0)