Re: [whatwg/streams] ReadableStream.prototype.arrayBuffer() (#1019)

> Could you imagine what the fetch would look like instead if we had done `response.body.blob()`? then we would probably not have `response.blob()` in the first place

That would have delayed shipping fetch and therefore service workers for many years. Also, the methods on `response` are still useful, because:

- Space can be pre-allocated using the content-length
- The mime type on `Blob` can be filled in from the request/response content-type

-- 
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/1019#issuecomment-847088221

Received on Monday, 24 May 2021 14:40:54 UTC