mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
Updating README.md
This commit is contained in:
@@ -285,7 +285,11 @@ These are the available config options for making requests. Only the `url` is re
|
|||||||
// rejected.
|
// rejected.
|
||||||
validateStatus: function (status) {
|
validateStatus: function (status) {
|
||||||
return status >= 200 && status < 300; // default
|
return status >= 200 && status < 300; // default
|
||||||
}
|
},
|
||||||
|
|
||||||
|
// `maxRedirects` defines the maximum number of redirects to follow in node.js.
|
||||||
|
// If set to 0, no redirects will be followed.
|
||||||
|
maxRedirects: 5 // default
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user