From ccc4b688b87498b0fcf694def586cece23a40953 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 17 Jan 2022 19:07:08 +0900 Subject: [PATCH] Update http.js --- lib/http.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/http.js b/lib/http.js index ed30793..382a887 100644 --- a/lib/http.js +++ b/lib/http.js @@ -97,7 +97,11 @@ var HTTPObject = function(engine) { }; this.setProxy = function(proxy) { - this.proxy = proxy; + for (var k in proxy) { + if (k in this.proxy) { + this.proxy[k] = proxy[k]; + } + } return this; };