- From: Ben Kelly <notifications@github.com>
- Date: Thu, 19 Mar 2015 10:05:23 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 19 March 2015 17:05:55 UTC
> I think it is totally OK for res.body to change as a side-effect of calling res.clone(). There's a clear method mutation going on; it's not as if res.body !== res.body ever holds. I think this is really bad and unexpected. Why can't body be a wrapper around a concrete stream? Then clone() would swap out the underlying stream, but the external users of .body would not be able to observe it. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/302#issuecomment-83667670
Received on Thursday, 19 March 2015 17:05:55 UTC