)},}req=req.WithContext(httptrace.WithClientTrace(req.Context(),trace))_,err:=http.DefaultTransport.RoundTrip
func(vValues)Set(key,valuestring) 示例 ParseQueryURLURL.HostnameURL.RequestURIURL.ResolveReferenceURL(Roundtrip
如果提供的主体也是io.Closer,则返回的Request.Body将设置为body,并且将由客户端方法Do,Post和PostForm以及Transport.RoundTrip关闭。