mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Update http.js
This commit is contained in:
parent
c88e45ff39
commit
c5e7842c43
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user