request.js: remove unneeded input.agent

This commit is contained in:
Maciej Brencz 2016-04-12 23:59:12 +02:00
parent 2c35103eae
commit c8a895eb5e
1 changed files with 1 additions and 1 deletions

View File

@ -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,