Skip to content

Commit

Permalink
fix issue franela#116
Browse files Browse the repository at this point in the history
  • Loading branch information
Antman2023 committed Dec 10, 2015
1 parent 72c51a5 commit f8e3d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goreq.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ func (r Request) Do() (*Response, error) {
transport = proxyTransport
client = proxyClient
}

client.Timeout = r.Timeout
client.CheckRedirect = func(req *http.Request, via []*http.Request) error {

if len(via) > r.MaxRedirects {
Expand Down

0 comments on commit f8e3d1f

Please sign in to comment.