mirror of
https://github.com/gospider007/requests.git
synced 2025-12-24 13:57:52 +08:00
sync
This commit is contained in:
@@ -155,7 +155,7 @@ func (obj *Client) Request(ctx context.Context, method string, href string, opti
|
||||
if err == nil || errors.Is(err, errFatal) || option.once {
|
||||
return
|
||||
}
|
||||
optionBak.MaxRetries = option.MaxRedirect
|
||||
optionBak.MaxRetries = option.MaxRetries
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user