Skip to content

Commit

Permalink
adding change to reuse connections
Browse files Browse the repository at this point in the history
  • Loading branch information
Matias-Barrios committed Aug 5, 2021
1 parent bce641e commit eb0cd5a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions httpclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit eb0cd5a

Please sign in to comment.