Skip to content

Commit

Permalink
#39 don't set transport proxy to nil by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm committed Oct 2, 2016
1 parent 65d3148 commit 1a3bb60
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,6 @@ func (c *Client) execute(req *Request) (*Response, error) {
c.transport.Proxy = http.ProxyURL(req.proxyURL)
} else if c.proxyURL != nil {
c.transport.Proxy = http.ProxyURL(c.proxyURL)
} else {
c.transport.Proxy = nil
}

req.Time = time.Now()
Expand Down

0 comments on commit 1a3bb60

Please sign in to comment.