Re: [whatwg/fetch] Add support for parsing a suffix byte range spec (PR #1454)

@dlrobertson commented on this pull request.

Updated `simple range header` to `parse a single range header`.

> @@ -1077,14 +1081,14 @@ run these steps:
  <li><p>Return <var>values</var>.
 </ol>
 
-<p>To determine if a <a>byte sequence</a> <var>value</var> is a
-<dfn>simple range header value</dfn>, perform the following steps. They return a <a>boolean</a>.
+<p>To <dfn lt="parse a single range header value|single range header value">parse a single range header value</dfn>
+from a <a>byte sequence</a> <var>value</var>, run these steps:

Many parsers indicate the returned value type. I couldn't find a primitive type that would encompass a range type `(start, end)`.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1454#pullrequestreview-1017883812
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1454/review/1017883812@github.com>

Received on Friday, 24 June 2022 01:34:27 UTC