Re: [whatwg/streams] Add a flag to determine wether a ReadableStream is disturbed or cancelled (#1025)

@yutakahirano It's not only used for `Response.bodyUsed` it's mainly used to understand if response body is valid at all. This is why Response's constructor fails and not just set `bodyUsed` in `true` when the stream has been already disturbed. Without this restriction such things like ServiceWorker's cache wouldn't work correctly.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/1025#issuecomment-567934647

Received on Friday, 20 December 2019 14:02:53 UTC