Skip to content

Commit

Permalink
Use custom client
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur White committed Mar 28, 2018
1 parent 1d7d78a commit da6aa31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion request.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func (r *request) Do() (*Response, error) {
if r.noRedir {
res, err = clientNoRedirect.Do(req)
} else {
res, err = http.DefaultClient.Do(req)
res, err = client.Do(req)
}
return &Response{Response: res}, err
}
Expand Down

0 comments on commit da6aa31

Please sign in to comment.