Re: [whatwg/fetch] Stop lowercasing header names (#476)

yutakahirano commented on this pull request.



> @@ -362,6 +348,8 @@ a <a for=/>header list</a> (<var>list</var>), run these steps:
    <a for=header>combined value</a> given <var>name</var> and
    <var>list</var>.
 
+   <li><p>Set <var>name</var> to <var>name</var>, <a>byte-lowercased</a>.

Shouldn't we lowercase _name_ before sorting? Imagine _headers_ contains "a", "B", "c" and "D" as names. _names_ will be ["B", "D", "a", "c"] and after lowercased it will be ["b", "d", "a", "c"].

-- 
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/476#pullrequestreview-20955849

Received on Thursday, 9 February 2017 08:59:27 UTC