Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
16.58k
stars
1.33k
forks
source link
Retry only on when certain response codes #1635
Open
narender56 opened 3 years ago
I need to retry request on certain response codes, like 401, 406, Do
superagent
support this?Example:
Any help would appreciated. Thank you!