r-lib / httr2

Make HTTP requests and process their responses. A modern reimagining of httr.
https://httr2.r-lib.org
Other
237 stars 59 forks source link

By default, don't retry on curl failures #545

Closed hadley closed 2 months ago

hadley commented 2 months ago

Since they're not usually resolvable just by waiting, and it's better to give a clear error.

@jcheng5 does this make sense to you? I'm not sure what I was thinking at the time, but the previous behaviour treated low-level HTTP errors as transient, which I don't think is usually the case.