Update http.js

This commit is contained in:
Namhyeon Go 2024-07-10 11:31:27 +09:00 committed by GitHub
parent 9dda6f1e09
commit 4b02143a44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {