- From: Paul Rumkin <notifications@github.com>
- Date: Fri, 20 Dec 2019 06:02:51 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 20 December 2019 14:02:53 UTC
@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