- From: Chris Lorenzo <notifications@github.com>
- Date: Thu, 22 Jul 2021 08:47:16 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 22 July 2021 15:47:29 UTC
Following up on issue #116
Retry fetch requests is a heavily used feature as evidence of library usage:
https://github.com/sindresorhus/p-retry - 2.5m users
https://www.npmjs.com/package/fetch-retry
I'd like to discuss options for browser to handle this.
1) Fetch automatically retries if the server sends a `retry-after` header
2) Fetch takes a `{ retries: # }` param to retry request on non response.ok
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1271
Received on Thursday, 22 July 2021 15:47:29 UTC