Re: [whatwg/fetch] What does "combined value" return for a name not in the header list? (#752)

The current setup requires you to do a contains check (which maybe we should rename to has?).

I want to add "get" to https://fetch.spec.whatwg.org/#concept-header-list that gives you null or a byte sequence, but I'm not a 100% sure if the current "combined value" definition is good enough.

In particular, I think @mnot's structured headers don't have the additional space. So:
```
Some-String-Header: "test
Some-String-Header: test"
```
ends up with `"test,test"` and not `"test, test"` as Fetch (and believe most implementations) do.

-- 
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/752#issuecomment-394060365

Received on Saturday, 2 June 2018 05:34:34 UTC