sindresorhus / ky

🌳 Tiny & elegant JavaScript HTTP client based on the browser Fetch API
MIT License
11.83k stars 341 forks source link

retry not working? #583

Closed zacronos closed 2 months ago

zacronos commented 2 months ago

I know retries used to work in my app. Today I noticed they were not.

Here's a dead simple reproduction: https://replit.com/@joe174/ky-test#index.js

Am I doing something wrong here?

sindresorhus commented 2 months ago

Ky does not retry on .post since it's not idempotent.