diff --git a/realis.go b/realis.go index 32c4d5f..18be711 100644 --- a/realis.go +++ b/realis.go @@ -23,7 +23,6 @@ import ( "io/ioutil" "log" "net/http" - "net/http/cookiejar" "os" "path/filepath" "sort" @@ -338,11 +337,6 @@ func GetCerts(certPath string) (*x509.CertPool, error) { func defaultTTransport(url string, timeout time.Duration, config *clientConfig) (thrift.TTransport, error) { var transport http.Transport - jar, err := cookiejar.New(nil) - if err != nil { - return nil, errors.Wrap(err, "error creating Cookie Jar") - } - if config != nil { tlsConfig := &tls.Config{} if config.InsecureSkipVerify {