in httputil/httputil.go [102:114]
func NewSecureHttpClient(retryBehavior RetryBehavior) HttpClient {
if retryBehavior == nil {
panic("Retry policy must be specified")
}
tlsConfig := &tls.Config{
Renegotiation: tls.RenegotiateFreelyAsClient,
}
transport := &http.Transport{TLSClientConfig: tlsConfig}
httpClient := &http.Client{Transport: transport}
return &Client{httpClient, retryBehavior}
}