Closed yourlogarithm closed 4 months ago
This feels way too specific to be a first-class feature in reqwest-retry
.
But it points at an underlying issue: you can't implement this on your own because RetryableStrategy
doesn't take into account the request. That's what we should be reasoning about imo.
Adds a regex set matching feature so that if the request fails and the url matches against the provided
whitelist
pattern - it will be retried, otherwise not.Example: