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

> + <li><p>Let <var>p</var> be a new promise.
> +
> + <li>
> +  <p>Run these substeps <span data-anolis-spec=html>in parallel</span>:
> +  <ol>
> +   <li><p>Let <var>bytes</var> be the empty byte sequence.
> +
> +   <li><p>If <span title=concept-Request-request>request</span>'s
> +   <span title=concept-request-body>body</span> is not null, set <var>bytes</var> to the result of
> +   reading from <span title=concept-Request-request>request</span>'s
> +   <span title=concept-request-body>body</span> until it returns end-of-stream.
> +
> +   <li><p>Resolve <var>p</var> with the result of running the
> +   <span title=concept-body-package-data>package data</span> algorithm with <var>bytes</var>,
> +   <var>type</var> and <span title=concept-Body-MIME-type>MIME type</span>. If that threw an
> +  exception, reject <var>p</var> with that exception.

Indentation for "exception" is wrong.

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

Received on Friday, 2 October 2015 10:33:19 UTC