Comments (1)
is there any way to customize this module, make retries for 500 errors and still consider 400s as errors with err.statusCode?
Yes, see: https://github.com/FGRibreau/node-request-retry#how-to-define-your-own-retry-strategy 👍
from node-request-retry.
Related Issues (20)
- not working with post requests HOT 2
- Missing `request` dependency HOT 1
- [improvement] allow retryStrategy to be async HOT 1
- Tests are being part of the package HOT 1
- requestretry's error - Error: write EPIPE HOT 1
- Need to expose request.form() function HOT 1
- [Fix] When the requests responds with an unsuccessful code the promise is not rejected. HOT 1
- Request is deprecated
- It took quite a long time to send out retry request HOT 6
- Update lodash to 4.17.20 HOT 2
- ERR_MULTIPLE_CALLBACK HOT 1
- How to set the request header pls ? HOT 1
- EBUSY not handled in NetworkError
- Support for persistent connections? HOT 1
- Headers are forwarded when the URL redirects to another domain and should not be (information leak) HOT 10
- v7.0.0 breaks authorization/cookie header when url has any query parameters HOT 4
- Need an option to skip sanitizeHeaders, PR created HOT 2
- Is ECONNRESET a retryable error? HOT 3
- Replace deprecated request library HOT 2
- Vulnerability in request 2 HOT 1
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 node-request-retry.