request.js: remove unneeded input.agent
This commit is contained in:
parent
2c35103eae
commit
c8a895eb5e
|
@ -56,7 +56,7 @@ function Request(input, init) {
|
|||
init.compress : input.compress !== undefined ?
|
||||
input.compress : true;
|
||||
this.counter = init.counter || input.counter || input.follow || 0;
|
||||
this.agent = init.agent || input.agent || input.agent;
|
||||
this.agent = init.agent || input.agent;
|
||||
|
||||
Body.call(this, init.body || this._clone(input), {
|
||||
timeout: init.timeout || input.timeout || 0,
|
||||
|
|
Loading…
Reference in New Issue