- From: S.A.N <notifications@github.com>
- Date: Fri, 04 Sep 2015 04:28:15 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Friday, 4 September 2015 11:28:42 UTC
It would be very helpful to have a option: `isRetry`
```Javascript
fetch(url, {
isRetry: true
})
```
If network offline or other network problems, auto reconnect to be successful connect.
If server response code error status, and has HTTP header `Retry-After`,
retry send this request, after time specified value in header.
```
HTTP/1.1 503 Service Unavailable
Retry-After: 3
```
What do you think about it?
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/116
Received on Friday, 4 September 2015 11:28:42 UTC