From 4b02143a4425620f70d0c132bf6be78640355f38 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Wed, 10 Jul 2024 11:31:27 +0900 Subject: [PATCH] Update http.js --- lib/http.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/http.js b/lib/http.js index 3aa9758..c6f3112 100644 --- a/lib/http.js +++ b/lib/http.js @@ -97,6 +97,7 @@ var HTTPObject = function(engine) { ]); } else if (this.engine == "CURL") { this.interface = SHELL.create(); + this.interface.setPrefix("bin\\curl"); // the location of cURL binary } return this; }; @@ -449,7 +450,7 @@ var HTTPObject = function(engine) { if (this.states.length > 0) { // Make CURL context var state = this.states[this.states.length - 1]; - var cmd = ["bin\\curl"]; + var cmd = []; var url = state.url; if (this.isDebugging) {