Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent request from force-closing connection #56

Merged
merged 1 commit into from
Oct 29, 2018
Merged

Prevent request from force-closing connection #56

merged 1 commit into from
Oct 29, 2018

Conversation

sohamkamani
Copy link
Contributor

Fixes #55

@rShetty rShetty merged commit fe3abb7 into master Oct 29, 2018
@rShetty rShetty deleted the FIX-55 branch October 29, 2018 06:26
@@ -144,8 +144,6 @@ func (hhc *Client) Delete(url string, headers http.Header) (*http.Response, erro

// Do makes an HTTP request with the native `http.Do` interface
func (hhc *Client) Do(request *http.Request) (*http.Response, error) {
request.Close = true
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this not testable ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants