Re: [whatwg/fetch] "get, decode, and split" seems incorrect (#1068)

Hmm. The examples table actually seems to preserve the quotes in the output, but the algorithm (in particular the call-out to https://fetch.spec.whatwg.org/#collect-an-http-quoted-string) seems to strip them.

In a vacuum, I'd prefer treating quoted and non-quoted values identically. For example it seems strange that a spec would have to define the set of allowed values as something like `x`, `y`, `"z,w"` instead of `x`, `y`, `z,w`.

But, it sounds like that isn't how the world works, so OK.

Are there examples of callers that actually expect quoted strings?

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

Received on Wednesday, 5 August 2020 16:14:06 UTC