- From: Yutaka Hirano <notifications@github.com>
- Date: Mon, 01 Feb 2016 18:13:32 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/200/r51513734@github.com>
> + <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> > + a reader from <var>stream</var>. If that threw an exception, return a new promise rejected > + with that exception. > + > + <li><p>Let <var>promise</var> be the result of > + <span title=concept-read-all-bytes-from-ReadableStream>reading</span> all bytes from > + <var>stream</var> with <var>reader</var>. > + > + <li><p>Return the result of transforming <var>promise</var> by a fulfillment handler that > + returns the result of the <span title=concept-body-package-data>package data</span> algorithm > + with its first argument, <var>type</var> and <span title=concept-body-mime-type>MIME type</span>. Fixed as "this object's MIME type". --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/200/files#r51513734
Received on Tuesday, 2 February 2016 02:14:02 UTC