Re: [ServiceWorker] Backpressure on fetch integrated with Streams (#452)

> IIRC the plan was for .clone() to consult the body-used flag and throw if it's true. So that would mean you'd never have to worry about
>
>> data already read from the ReadableStream of the original Request/Response is not read from one of the new Request/Response

> since it'd just throw in that scenario instead.

@domenic, I thought `.read()` doesn't set `.bodyUsed`, because of your opinion

> We definitely want to allow read and then call json(), e.g. for a file format that has descriptive headers then JSON content

at https://github.com/slightlyoff/ServiceWorker/issues/452#issuecomment-60870385 . Is that correct?

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/452#issuecomment-64852698

Received on Friday, 28 November 2014 04:16:07 UTC