Re: [fetch] Proposed backward-incompatible change: requiring cloning all requests/responses (#61)

So the proposal here would be:

* `fetch()` sets the flag
* Cache's `put()` sets the flag
* `getReader()` sets the flag
* Anything similar sets the flag

Note that we cannot just use `getReader()` and write everything in terms of that as sometimes the `Response`/`Request` object will not have an associated stream.

Once the flag is set, the object can no longer be used. Similarly any associated stream needs to be locked at that point (for which we might need to invoke a privileged `getReader()` I suppose).

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/61#issuecomment-114896481

Received on Wednesday, 24 June 2015 14:52:09 UTC