- From: Dan Robertson <notifications@github.com>
- Date: Sat, 26 Nov 2022 18:11:23 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 27 November 2022 02:11:36 UTC
@dlrobertson commented on this pull request. > + + <p class="note">A range header denotes an inclusive byte range, while the <a>slice blob</a> + algorithm input range does not. To use the <a>slice blob</a> algorithm, we must increment + the parsed range header end value. + + <li><p>Let <var>slicedBlob</var> be the result of invoking <a>slice blob</a> given + <var>blobURLEntry</var>'s <a for="blob URL entry">object</a>, <var>rangeValue</var>[0], + <var>sliceEndRange</var>, and <var>type</var>. + + <li><p>Let <var>slicedBodyWithType</var> be the result of + <a for=BodyInit>safely extracting</a> <var>slicedBlob</var>. + + <li><p>Set <var>response</var>'s <a for=response>body</a> to <var>slicedBodyWithType</var>'s + <a for="body with type">body</a>. + + <li><p>Let <var>contentRange</var> be `<code>bytes </code>`. Created https://github.com/whatwg/fetch/issues/1552. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1520#discussion_r1032855483 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1520/review/1194923722@github.com>
Received on Sunday, 27 November 2022 02:11:36 UTC