Re: [whatwg/fetch] Use `,` rather than `, ` for combine operation (#207)

According rfc2616 [1] LWS (=white spaces excluding CR LF) are permitted around comma separated field-value's.  That same article also says something about ordering of the combined field-value's being something that affects interpretation of it.  Looks like "gzip,deflate" is something else than "deflate,gzip" (in this case definitely, but for e.g. caching directives that should apply as well, regardless that semantically they would be identical when reordered).  

Based on that, for instance caches or proxies can easily be dumb when comparing the Vary headers (when LWS are removed from the raw string).

I don't have arguments what to do here, but it's IMO better to not add spaces that adding them.  And being consistent is definitely a good thing ;)

[1] https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2

---
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/207#issuecomment-222504157

Received on Monday, 30 May 2016 14:29:08 UTC