From: Brad Fitzpatrick Date: Mon, 16 Jul 2018 16:35:04 +0000 (+0000) Subject: doc: add net/http additions to go1.11 notes X-Git-Tag: go1.11beta2~94 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e07e9c4fd50687370a4027fb9f319edb75f5ac04;p=gostls13.git doc: add net/http additions to go1.11 notes Change-Id: Ib2da2b0ceb33867a41b0b9b7e4dcecb11f964b73 Reviewed-on: https://go-review.googlesource.com/124035 Reviewed-by: Brad Fitzpatrick --- diff --git a/doc/go1.11.html b/doc/go1.11.html index 375fe94314..59f71f70f4 100644 --- a/doc/go1.11.html +++ b/doc/go1.11.html @@ -332,27 +332,46 @@ Do not send CLs removing the interior tags from such phrases.
net/http

- TODO: https://golang.org/cl/71272: add Transport.MaxConnsPerHost knob + The Transport has a + new MaxConnsPerHost + option that permits limiting the maximum number of connections + per host.

- TODO: https://golang.org/cl/79919: add support for SameSite option in http.Cookie + The Cookie type has a new + The SameSite field + (of new type also named + SameSite) to represent the new cookie attribute recently supported by most browsers. + The net/http's Transport does not use the SameSite + attribute itself, but the package supports parsing and serializing the + attribute for browsers to use.

- TODO: https://golang.org/cl/81778: prevent Server reuse after a Shutdown + It is no longer allowed to reuse a Server + after a call to + Shutdown or + Close. It was never officially supported + in the past and had often surprising behavior. Now, all future calls to the server's Serve + methods will return errors after a shutdown or close.

- TODO: https://golang.org/cl/89275: don't sniff Content-type in Server when X-Content-Type-Options:nosniff + The HTTP server will no longer automatically set the Content-Type if a + Handler sets the "X-Content-Type-Options" header to "nosniff".

- TODO: https://golang.org/cl/93296: add StatusMisdirectedRequest (421) + The constant StatusMisdirectedRequest is now defined for HTTP status code 421.

- TODO: https://golang.org/cl/123875: don't cancel Request.Context on pipelined Server requests + The HTTP server will no longer cancel contexts or send on + CloseNotifier + channels upon receiving pipelined HTTP/1.1 requests. Browsers do + not use HTTP pipelining, but some clients (such as + Debian's apt) may be configured to do so.