From eb0cd5a76607f217396ccf23347d84d3170f2fc6 Mon Sep 17 00:00:00 2001 From: Matias-Barrios Date: Thu, 5 Aug 2021 14:56:44 -0300 Subject: [PATCH] adding change to reuse connections --- httpclient/client.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/httpclient/client.go b/httpclient/client.go index 6880776..762f0d0 100644 --- a/httpclient/client.go +++ b/httpclient/client.go @@ -122,8 +122,6 @@ func (c *Client) Delete(url string, headers http.Header) (*http.Response, error) // Do makes an HTTP request with the native `http.Do` interface func (c *Client) Do(request *http.Request) (*http.Response, error) { - request.Close = true - var bodyReader *bytes.Reader if request.Body != nil {