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

> You wouldn't ask someone to add a .drained to arrays, asking if they had started out nonempty but then someone .pop()ed them into emptiness.

I guess I don't think that's a fair comparison.  Streams and arrays are different.

For example, can you close an array so data can't be put into it anymore?  Do arrays restrict access to sequential value with only a single read each?  These are features of streams that arrays do not have.   And they are features which imply a drained state.

Conceptually streams do have a drained state; closed and all possible data read.

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

Received on Monday, 8 June 2015 19:25:37 UTC