|
|
|
|
277
|
_headerReceived = (e) => {
|
277
|
_headerReceived = (e) => {
|
278
|
log.debug('header received ', this._task.taskId, e)
|
278
|
log.debug('header received ', this._task.taskId, e)
|
279
|
this.responseURL = this._url
|
279
|
this.responseURL = this._url
|
280
|
- if(e.state === "2") {
|
|
|
|
|
280
|
+ if(e.state === "2" && e.taskId === this._task.taskId) {
|
281
|
this._responseHeaders = e.headers
|
281
|
this._responseHeaders = e.headers
|
282
|
this._statusText = e.status
|
282
|
this._statusText = e.status
|
283
|
this._status = Math.floor(e.status)
|
283
|
this._status = Math.floor(e.status)
|