Update http.js

This commit is contained in:
Namhyeon Go 2022-01-17 18:24:33 +09:00 committed by GitHub
parent c88e45ff39
commit c5e7842c43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -361,14 +361,15 @@ var HTTPObject = function(engine) {
cmd.push("-A");
cmd.push((this.userAgent != null ? this.userAgent : ''));
/*
var pos = url.indexOf('?');
if (pos > -1) {
cmd.push("-d");
cmd.push(state.url.substring(pos + 1));
cmd.push(state.url.substring(0, pos));
} else {
cmd.push(state.url);
}
*/
cmd.push(state.url);
// Get response text
responseText = this.interface.exec(cmd);