#Reqwest default retry handling

5 messages · Page 1 of 1 (latest)

untold spoke

Hi @neon juniper , after reading the PR again, I think it is best to always enable NACK retry handling and make it opt-out via some function on the custom retry logic. My reasoning is that this behavior has been the default previously. In addition, reqwest actively aims to be a high-level HTTP client, so being opinionated on low level concerns should be totally in scope of the crate. We can always add some documentation explaining this default behavior for people that need low level control (as an aside, perhaps reqwest is no good fit then?). What do you think about that?

If you want to stick to the current status quo, I would advocate making the nack handling a pub function, so we can include the default behavior in our custom retry logic. I can open a PR on that

untold spoke

Reqwest default retry handling