File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -807,6 +807,19 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
807
807
< code > HTTPS_PROXY</ code > is unset.
808
808
</ p >
809
809
810
+ < p > <!-- 259917 -->
811
+ The < a href ="/pkg/net/http/#Transport "> < code > Transport</ code > </ a >
812
+ type has a new field
813
+ < a href ="/pkg/net/http/#Transport.GetProxyConnectHeader "> < code > GetProxyConnectHeader</ code > </ a >
814
+ which may be set to a function that returns headers to send to a
815
+ proxy during a < code > CONNECT</ code > request.
816
+ In effect < code > GetProxyConnectHeader</ code > is a dynamic
817
+ version of the existing field
818
+ < a href ="/pkg/net/http/#Transport.ProxyConnectHeader "> < code > ProxyConnectHeader</ code > </ a > ;
819
+ if < code > GetProxyConnectHeader</ code > is not < code > nil</ code > ,
820
+ then < code > ProxyConnectHeader</ code > is ignored.
821
+ </ p >
822
+
810
823
< p > <!-- CL 243939 -->
811
824
The new < a href ="/pkg/net/http/#FS "> < code > http.FS</ code > </ a >
812
825
function converts an < a href ="/pkg/io/fs/#FS "> < code > fs.FS</ code > </ a >
You can’t perform that action at this time.
0 commit comments