From 15394d9a834a65f84c0307e087fb6677627dc37d Mon Sep 17 00:00:00 2001 From: Jannis R Date: Wed, 28 Oct 2020 13:32:26 +0100 Subject: followRedirects optionally as a function, 1.1.0 --- readme.md | 1 + 1 file changed, 1 insertion(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 1017738..3179033 100644 --- a/readme.md +++ b/readme.md @@ -129,6 +129,7 @@ request(pathOrUrl, opt = {}, cb) ```js { // follow redirects automatically + // Can also be a function `(nrOfRedirects, response) => boolean`. followRedirects: false, // client certificates useClientCerts: false, -- cgit v1.3