code: func SetOldTransportDefaults(t *http.Transport) *http.Transport {
  	if t.Proxy == nil || isDefault(t.Proxy) {
  		// http.ProxyFromEnvironment doesn't respect CIDRs and that makes it impossible to exclude things like pod and service IPs from proxy settings
  		// ProxierWithNoProxyCIDR allows CIDR rules in NO_PROXY
  		t.Proxy = NewProxierWithNoProxyCIDR(http.ProxyFromEnvironment)
  	}
  	// If no custom dialer is set, use the default context dialer
  	if t.DialContext == nil && t.Dial == nil {
  		t.DialContext = defaultTransport.DialContext
  	}
  	if t.TLSHandshakeTimeout == 0 {
  		t.TLSHandshakeTimeout = defaultTransport.TLSHandshakeTimeout
  	}
  	return t
  }
docs: // SetOldTransportDefaults applies the defaults from http.DefaultTransport
  // for the Proxy, Dial, and TLSHandshakeTimeout fields if unset