- From: Boris Zbarsky <notifications@github.com>
- Date: Fri, 27 Jan 2017 09:47:00 -0800
- To: whatwg/xhr <xhr@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 27 January 2017 17:47:31 UTC
Oh, I see, actually. We _do_ kinda do case-folding but it's rather bizarre. When we first see a header name, we intern it; the key is the header string and the interned value represents that string. Later if we need to intern a header name, we intern _that_ and this check does a case-insensitive match on the key, but returns whatever the value is. So afaict once we see a "foo-TEST" header we will treat all header names that are just different casings of it as "foo-TEST" or so. -- 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/xhr/issues/108#issuecomment-275727309
Received on Friday, 27 January 2017 17:47:31 UTC