- From: Dan Robertson <notifications@github.com>
- Date: Thu, 03 Nov 2022 19:22:32 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 4 November 2022 02:22:45 UTC
@dlrobertson commented on this pull request. > + following steps: + + <ol> + <li><p>Let <var>rangeHeader</var> be the result of <a>extracting header list values</a> given + `<code>Range</code>` and <var>request</var>'s <a for=response>header list</a>. + + <li><p>Let <var>rangeValue</var> be the result of <a>parsing a single range header value</a> + given <var>rangeHeader</var>. + + <li><p>If <var>rangeValue</var> is failure, then return a <a>network error</a>. + + <li> + <p>blob.slice(<var>rangeStart</var>[0], <var>rangeValue</var>[1], <var>type</var>) here + on <var>body</var>. + + <p class="note">TODO(dlrobertson): This requires a lot more thought. Yeah, the more I've looked at the the more I think your suggestion to upstream a change to FileAPI to make the guts of `blob.slice` a separate algorithm would be real nice. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1520#discussion_r1013535717 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1520/review/1167843650@github.com>
Received on Friday, 4 November 2022 02:22:45 UTC