(headers)
| 581 | } |
| 582 | |
| 583 | function getBytesExpected(headers) { |
| 584 | var contentLength = headers['content-length']; |
| 585 | if (contentLength) { |
| 586 | return parseInt(contentLength, 10); |
| 587 | } else if (headers['transfer-encoding'] == null) { |
| 588 | return 0; |
| 589 | } else { |
| 590 | return null; |
| 591 | } |
| 592 | } |
| 593 | |
| 594 | function beginFlush(self) { |
| 595 | self.flushing += 1; |
no outgoing calls
no test coverage detected
searching dependent graphs…