[whatwg/fetch] Make combine work for XMLHttpRequest and WebSocket (#501)

Unfortunately as established in https://github.com/whatwg/xhr/issues/108 setRequestHeader() uses `, ` whereas fetch() uses `,` as value separator. This introduces a legacySpaceFlag for combine that XMLHttpRequest and WebSocket can use. New code and CORS (in Access-Control-Request-Headers) can continue not passing this flag.

Tests were fixed in https://github.com/w3c/web-platform-tests/pull/5008.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/501

-- Commit Summary --

  * Make combine work for XMLHttpRequest and WebSocket

-- File Changes --

    M fetch.bs (34)

-- Patch Links --

https://github.com/whatwg/fetch/pull/501.patch
https://github.com/whatwg/fetch/pull/501.diff

-- 
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/pull/501

Received on Tuesday, 7 March 2017 15:45:49 UTC