(err2)
| 9554 | "invalid content-length" |
| 9555 | ); |
| 9556 | this.resume = resume; |
| 9557 | this.etag = headers.etag != null ? headers.etag : null; |
| 9558 | if (this.etag != null && this.etag.startsWith("W/")) { |
| 9559 | this.etag = null; |
| 9560 | } |
| 9561 | return this.handler.onHeaders( |
| 9562 | statusCode, |
| 9563 | rawHeaders, |
| 9564 | resume, |
| 9565 | statusMessage |
| 9566 | ); |
| 9567 | } |
| 9568 | const err = new RequestRetryError("Request failed", statusCode, { |
| 9569 | headers, |
| 9570 | data: { count: this.retryCount } |
| 9571 | }); |
| 9572 | this.abort(err); |
| 9573 | return false; |
| 9574 | } |
| 9575 | onData(chunk) { |
| 9576 | this.start += chunk.length; |
| 9577 | return this.handler.onData(chunk); |
| 9578 | } |
| 9579 | onComplete(rawTrailers) { |
nothing calls this directly
no test coverage detected