Disable keep-alive for HTTP client

This commit is contained in:
Frédéric Guillot 2018-06-19 20:21:24 -07:00
parent 7914261437
commit b5c317f971

View file

@ -224,6 +224,7 @@ func (c *Client) buildHeaders() http.Header {
headers.Add("Authorization", c.authorizationHeader)
}
headers.Add("Connection", "close")
return headers
}