summaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
authorJannis R <mail@jannisr.de>2020-10-28 13:32:26 +0100
committerJannis R <mail@jannisr.de>2020-10-28 16:54:02 +0100
commit15394d9a834a65f84c0307e087fb6677627dc37d (patch)
treeb1185f6ed3f4c831075a7ef94a1256608fb65ac6 /readme.md
parent2f13bd7349b798e4afd5693f6a258a56e30cf13d (diff)
followRedirects optionally as a function, 1.1.0
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md1
1 files changed, 1 insertions, 0 deletions
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,