- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 28 Sep 2015 02:04:32 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Monday, 28 September 2015 09:05:33 UTC
> + > +<p>A <code>Request</code> object's <span title=concept-body-consume-body>consume body</span> > +algorithm, which given a <var>type</var>, runs these steps: > + > +<ol> > + <li><p>If this <code>Request</code> is <span title=concept-Body-disturbed>disturbed</span>, return > + a new promise rejected with a <code>TypeError</code>. > + > + <li><p>Set <span title=concept-Request-disturbed-flag>disturbed flag</span>. > + > + <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 <span title=concept-Request-request>request</span>'s Shouldn't this do a bit more? E.g., read/consume the body somehow since it's a stream? --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/128/files#r40530849
Received on Monday, 28 September 2015 09:05:33 UTC