- From: Henri Sivonen <notifications@github.com>
- Date: Mon, 20 May 2019 06:35:37 -0700
- To: whatwg/xhr <xhr@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 20 May 2019 13:35:59 UTC
[Sorting headers lexicographically](https://github.com/whatwg/xhr/issues/50) after ASCII-lowercasing them has the property that application-defined header that begin with underscores sort to the beginning of the return string of `getAllResponseHeaders`. This [breaks](https://bugzilla.mozilla.org/show_bug.cgi?id=1540688) when JS accidentally assumes that the header of interest cannot be the first one. I suggest doing the sorting as if the the header names had been ASCII-uppercased, to avoid sorting headers starting with an underscore first. -- 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/248
Received on Monday, 20 May 2019 13:35:59 UTC