Re: [whatwg/fetch] blob: URLs and range requests (#1070)

> @annevk what whitespace are you talking about here? There's no OWS in [the spec](https://httpwg.org/specs/rfc9110.html#rule.ranges-specifier).

@mnot I thought the same thing originally, but [section 2.1](https://httpwg.org/specs/rfc9110.html#abnf.extension) states:

> It also uses a list extension, defined in [Section 5.6.1](https://httpwg.org/specs/rfc9110.html#abnf.extension), that allows for compact definition of comma-separated lists using a "#" operator...

The relevant text from [Section 5.6.1](https://httpwg.org/specs/rfc9110.html#rfc.section.5.6.1) states:

> A construct "#" is defined, similar to "*", for defining comma-delimited lists of elements. The full form is "<n>#<m>element" indicating at least <n> and at most <m> elements, each separated by a single comma (",") and optional whitespace ([OWS](https://httpwg.org/specs/rfc9110.html#whitespace), defined in [Section 5.6.3](https://httpwg.org/specs/rfc9110.html#whitespace)).

So [range-set](https://httpwg.org/specs/rfc9110.html#rule.ranges-specifier) could have optional whitespace due to the use of the list extension.

Please let me know if I've missed something!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1070#issuecomment-1360894187
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1070/1360894187@github.com>

Received on Wednesday, 21 December 2022 06:05:37 UTC