- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 28 Jan 2015 12:53:10 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Wednesday, 28 January 2015 20:53:41 UTC
Why can't we just make `text()` always reject on `"closed"` response? E.g. ```js function text() { if (this.body.state === "closed") { return Promise.reject(new TypeError("stream is closed!")); } // otherwise, read the stream to the end... } ``` --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/452#issuecomment-71913530
Received on Wednesday, 28 January 2015 20:53:41 UTC