From 4100996676835778c1bf9c2a5fb6deb90897f52b Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 12 Jul 2017 19:40:39 +0000 Subject: [PATCH] doc: note the StripPrefix change in Go 1.9 release notes Fixes #20948 Change-Id: I222bf101a5c1bdc5cbb0970949070c4b58b9b83b Reviewed-on: https://go-review.googlesource.com/48190 Reviewed-by: Ian Lance Taylor --- doc/go1.9.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/go1.9.html b/doc/go1.9.html index a4db8e90c0..5df1e5cff7 100644 --- a/doc/go1.9.html +++ b/doc/go1.9.html @@ -698,6 +698,17 @@ version of gccgo. Frames are scheduled by following HTTP/2 priorities as described in RFC 7540 Section 5.3. + +
  • + The HTTP handler returned by StripPrefix + now calls its provided handler with a modified clone of the original *http.Request. + Any code storing per-request state in maps keyed by *http.Request should + use + Request.Context, + Request.WithContext, + and + context.WithValue instead. +
  • Client & Transport changes:

    -- 2.48.1