Comments (1)
I would assume that unless you have configured fetch-retry
to retry requests with a 307 status code, that the default behavior of the fetch implementation is what would be used.
Alternatively, if you are actively retrying 307 status codes, I think this is perhaps an edge-case where the current implementation falls short. By defining a custom retryOn
function you get get a hold of the returned response object and get the Location
header, but I don't see how you can replace the URL of the already wrapped fetch invocation.
from fetch-retry.
Related Issues (20)
- remove direct es6-promise dependency HOT 6
- Consider transpiling to ES5? HOT 4
- If I wanted to recreate the default behavior of retryOn with a custom retryOn function, could I? HOT 1
- Retry on AbortController.abort() HOT 1
- How to refresh access token before the next retry HOT 8
- [Feature-Request] Compatability with browsers' fetch API HOT 1
- When function is provided to `retryOn`, retries value is not honored HOT 3
- 5.0.0 doesn't work in Node environment (e.g. with `node-fetch`) HOT 4
- Type error with node-fetch HOT 1
- Change url? HOT 1
- Browser usage HOT 4
- Set up Fetch-retry HOT 2
- Access current URL in custom retryOn HOT 5
- I want to update fetch-retry after v3 but it didn't work HOT 2
- docs: works with native fetch? HOT 3
- Question about 'retryOn'? HOT 1
- incopatibility with `@types/[email protected]` or `@types/[email protected]` HOT 2
- Suggestion: Add an onRetry callback for reporting/logging HOT 2
- upgrade guide to v6 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fetch-retry.