()
| 426 | } |
| 427 | |
| 428 | onFinally () { |
| 429 | if (this.errorHandler) { |
| 430 | this.body.off('error', this.errorHandler) |
| 431 | this.errorHandler = null |
| 432 | } |
| 433 | |
| 434 | if (this.endHandler) { |
| 435 | this.body.off('end', this.endHandler) |
| 436 | this.endHandler = null |
| 437 | } |
| 438 | } |
| 439 | |
| 440 | addHeader (key, value) { |
| 441 | processHeader(this, key, value) |
no test coverage detected