- From: Yutaka Hirano <notifications@github.com>
- Date: Mon, 01 Feb 2016 18:13:04 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/200/r51513701@github.com>
> @@ -3535,6 +3617,35 @@ <h4 id="should-response-to-request-be-blocked-due-to-nosniff?"><dfn title="shoul > <var>bytes</var>. > </dl> > > +<p>Objects implementing the <code>Body</code> mixin also have an associated > +<dfn title=concept-Body-consume-body>consume body</dfn> algorithm, which given a <var>type</var>, > +runs these steps: > + > +<ol> > + <li><p>If this object is <span title=concept-Body-disturbed>disturbed</span> > + or <span title=concept-Body-locked>locked</span>, return a new promise rejected with a > + <code>TypeError</code>. > + > + <li><p>Let <var>stream</var> be <span title=concept-Body-body>body</span>'s > + <span title=concept-body-stream>stream</span> if <span title=concept-Body-body>body</span> is > + non-null, or an <span title=concept-empty-ReadableStream>empty</span> > + <code title=concept-ReadableStream>ReadableStream</code> object otherwise. > + > + <li><p>Let <var>reader</var> be the result of <span title=concept-get-reader>getting</span> Done. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/200/files#r51513701
Received on Tuesday, 2 February 2016 02:13:37 UTC