diff --git a/doc/go1.16.html b/doc/go1.16.html index b3166fbaf5..d7714888f2 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -807,6 +807,19 @@ func TestFoo(t *testing.T) { HTTPS_PROXY is unset.

+

+ The Transport + type has a new field + GetProxyConnectHeader + which may be set to a function that returns headers to send to a + proxy during a CONNECT request. + In effect GetProxyConnectHeader is a dynamic + version of the existing field + ProxyConnectHeader; + if GetProxyConnectHeader is not nil, + then ProxyConnectHeader is ignored. +

+

The new http.FS function converts an fs.FS