hashicorp / go-retryablehttp

Retryable HTTP client in Go
Mozilla Public License 2.0
1.99k stars 251 forks source link

WithContext should return a new Request #140

Closed ash2k closed 3 years ago

ash2k commented 3 years ago

The method should not mutate the original object. That is how the method from stdlib works.

ryanuber commented 3 years ago

Good catch, thanks for taking care of this 👍