(ev, ...args)
| 9675 | ); |
| 9676 | assert(end != null && Number.isFinite(end), "invalid content-length"); |
| 9677 | this.start = start; |
| 9678 | this.end = end; |
| 9679 | } |
| 9680 | if (this.end == null) { |
| 9681 | const contentLength = headers["content-length"]; |
| 9682 | this.end = contentLength != null ? Number(contentLength) - 1 : null; |
| 9683 | } |
| 9684 | assert(Number.isFinite(this.start)); |
| 9685 | assert( |
no outgoing calls
no test coverage detected