From 180f037d9fbaff44334f55cab1114cd59e4588a5 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Tue, 3 May 2022 13:13:52 +0900 Subject: [PATCH] Update http.js --- lib/http.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/http.js b/lib/http.js index 42839b2..3f757f1 100644 --- a/lib/http.js +++ b/lib/http.js @@ -646,6 +646,10 @@ var HTTPObject = function(engine) { this.credential = cred; return this; }; + + this.setIsFollowRedirect = function(flag) { + this.isFollowRedirect = flag; + }; this.setSaveTo = function(filename) { this.saveTo = filename;