From ad260b575ca032bd72f35ebf978ae6d6abdf7f03 Mon Sep 17 00:00:00 2001 From: Nick Uraltsev Date: Tue, 31 May 2016 18:51:21 -0700 Subject: [PATCH] Updating README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c5a9029..af6f984 100644 --- a/README.md +++ b/README.md @@ -285,7 +285,11 @@ These are the available config options for making requests. Only the `url` is re // rejected. validateStatus: function (status) { 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 } ```