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

> @@ -3979,9 +3977,51 @@ <h4 id="should-response-to-request-be-blocked-due-to-nosniff?"><dfn title="shoul
>  is itself associated with <span title=concept-Response-response>response</span>'s
>  <span title=concept-response-header-list>header list</span>.
>  
> -<p>A <code>Response</code> object's <span title=concept-Body-body>body</span> is its
> -<span title=concept-Response-response>response</span>'s
> -<span title=concept-response-body>body</span>.
> +<p>A <code>Response</code> object also has an associated
> +<dfn title=concept-Response-readable-stream>readable stream</dfn> which is null or a
> +<span title=concept-ReadableStream>ReadableStream</span>. Its initial value is null.
> +
> +<p class="XXX">This might become a <code>ReadableByteStream</code>, depending on the
> +<a href="https://github.com/whatwg/streams/issues/379">the discussion</a>.
> +
> +<p class="note no-backref">The type might be changed, but the behavior is specified because
> +<code>ReadableByteStream</code> has all methods and properties which
> +<span title=concept-ReadableStream>ReadableStream</span> has.

This can be folded into the XXX.

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

Received on Friday, 2 October 2015 10:36:37 UTC