/
224.txt
44 lines (31 loc) · 2.09 KB
/
224.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
* ヘッダー名
[5] 元々は[[ヘッダー名]]は[[大文字]]混じりとなることがありました。
(細かな動作は実装依存ながら、[[語頭]]が[[大文字]]となることが多かった。)
現在は[[ヘッダー名]]はすべて[[小文字]]で返すことになっています。
[6] [[Chrome]] は[[小文字]]に揃えるように変更されました。
[[Firefox]] はまだのようです。 [TIME[2018-01-18T12:05:12.000Z]]
* 順序
[10] [[特別な方法][legacy-uppercased-byte less than]]で[[ヘッダーの整列]]がなされます。
* 歴史
[1] [CITE@en[Define get(All)ResponseHeader(s) in terms of Fetch]]
( ([[annevk]]著, [TIME[2016-06-07 23:16:42 +09:00]]))
<https://github.com/whatwg/xhr/commit/ecce3904ace0dbe382a652ea1d8e29c7885fe8c4>
[4] [CITE@en[Sort headers lexicographically in getAllResponseHeaders and combine values too · Issue #50 · whatwg/xhr]] ([TIME[2018-01-18 21:01:20 +09:00]]) <https://github.com/whatwg/xhr/issues/50>
[2] [CITE@en[Align header handling with Fetch]]
([[annevk]]著, [TIME[2017-03-13 16:20:43 +09:00]])
<https://github.com/whatwg/xhr/commit/a6e79810a381b8e336570da797967c4b34e0c6b1>
[3] [CITE@en[Sort and lowercase header names in getAllResponseHeaders() example]]
([[annevk]]著, [TIME[2017-04-20 18:14:28 +09:00]])
<https://github.com/whatwg/xhr/commit/76b482b68ed9c27e0cc65fd3a6e663999cfc25e4>
[7] [CITE@en[Change how getAllResponseHeaders() sorts]]
([[annevk]]著, [TIME[2019-08-09 17:10:17 +09:00]])
<https://github.com/whatwg/xhr/commit/985f2f7a6de02dce42e157e02e9bb540d2750edc>
[8] [CITE@en[Sort headers as if ASCII-uppercased · Issue #248 · whatwg/xhr]]
([TIME[2020-07-13 13:55:53 +09:00]])
<https://github.com/whatwg/xhr/issues/248>
[9] [CITE@en[Change how getAllResponseHeaders() sorts by annevk · Pull Request #249 · whatwg/xhr]]
([TIME[2020-07-13 13:56:17 +09:00]])
<https://github.com/whatwg/xhr/pull/249>
[11] [CITE@en[Change how getAllResponseHeaders() sorts by annevk · Pull Request #249 · whatwg/xhr]]
([TIME[2020-07-13 14:04:23 +09:00]])
<https://github.com/whatwg/xhr/pull/249>