Re: [fetch] Introduce Response.body. (#118) (#128)

>  
> -   <li><p>Set <var title>r</var>'s <span title=concept-Response-response>response</span>'s
> -   <span title=concept-response-body>body</span> to <var title>stream</var>.
> +   <li><p>Set <var>r</var>'s
> +   <span title=concept-Response-readable-stream>readable stream</span> to the result of
> +   <span title=concept-construct-fixed-ReadableStream>constructing</span> a fixed
> +   <span title=concept-ReadableStream>ReadableStream</span> with a list whose single element is a
> +   <code>Uint8Array</code> whose contents are <var>bytes</var>. Rethrow any exceptions.

We should probably also say object after `Uint8Array`. Also, instead of "whose contents are" I think "whose buffer is" is more accurate. Do we want to spell out that the buffer is a new `ArrayBuffer`? I think we might. It seems you are already handling that throwing.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/128/files#r41009467

Received on Friday, 2 October 2015 10:41:42 UTC