|
4 | 4 |
|
5 | 5 | :memo: Section 7 of \[RFC9110] |
6 | 6 |
|
7 | | -- `Connection` |
8 | 7 | - `Upgrade` |
| 8 | +- `Connection` |
9 | 9 |
|
10 | 10 | ## Caching & Freshness |
11 | 11 |
|
12 | 12 | :memo: \[RFC9111] |
13 | 13 |
|
| 14 | +- `Age` |
14 | 15 | - `Cache-Control` |
| 16 | +- `ETag` |
15 | 17 | - `Expires` |
16 | 18 | - `Last-Modified` |
| 19 | +- `Vary` |
17 | 20 |
|
18 | 21 | ## Content & Representation Metadata |
19 | 22 |
|
20 | 23 | :memo: Section 8 of \[RFC9110] |
21 | 24 |
|
| 25 | +- `Content-Encoding` |
| 26 | +- `Content-Language` |
22 | 27 | - `Content-Length` |
23 | 28 | - `Content-Type` |
24 | 29 |
|
25 | | -## Request Context & Navigation |
| 30 | +## Request / Response Context |
26 | 31 |
|
27 | 32 | :memo: Section 10 of \[RFC9110] |
28 | 33 |
|
| 34 | +MDN uses separate `Request context` and `Response context` group names. |
| 35 | +Fetch Metadata headers (`Sec-Fetch-*`) are request headers, so they are out of scope here. |
| 36 | + |
29 | 37 | ## Authentication & Authorization |
30 | 38 |
|
31 | 39 | :memo: Section 11 of \[RFC9110] |
|
34 | 42 |
|
35 | 43 | :memo: \[RFC6265] |
36 | 44 |
|
| 45 | +- `Set-Cookie` |
| 46 | + |
37 | 47 | ## Security & Privacy |
38 | 48 |
|
39 | 49 | :memo: Section 12 of \[RFC9110], \[RFC6797], \[RFC8941] |
40 | 50 |
|
| 51 | +- `Content-Security-Policy` |
41 | 52 | - `X-Content-Type-Options` |
42 | 53 | - `Strict-Transport-Security` |
43 | 54 |
|
44 | 55 | ## CORS (Cross-Origin Resource Sharing) |
45 | 56 |
|
46 | 57 | :memo: [Fetch Living Standard – CORS](https://fetch.spec.whatwg.org/) |
47 | 58 |
|
| 59 | +- `Access-Control-Allow-Origin` |
| 60 | + |
48 | 61 | ## Redirects & Location |
49 | 62 |
|
50 | 63 | :memo: Section 15.5.2 of \[RFC9110] |
|
53 | 66 |
|
54 | 67 | :memo: Section 7.6 of \[RFC9110] |
55 | 68 |
|
| 69 | +- `Via` |
| 70 | + |
56 | 71 | ## Server & Response Info |
57 | 72 |
|
58 | 73 | :memo: Sections 6 and 10 of \[RFC9110] |
59 | 74 |
|
60 | 75 | - `Date` |
61 | 76 | - `Server` |
62 | 77 |
|
63 | | -## Streaming & Events (Range, SSE, WebSocket) |
| 78 | +## Streaming, Range & Protocol Upgrades |
64 | 79 |
|
65 | 80 | :memo: Section 14 of \[RFC9110], \[RFC6455] |
66 | 81 |
|
| 82 | +This category combines MDN groups `Range requests`, `Server-sent events`, `Transfer coding`, and `WebSockets`. |
| 83 | + |
67 | 84 | - `Accept-Ranges` |
| 85 | +- `Content-Range` |
| 86 | +- `Transfer-Encoding` |
68 | 87 |
|
69 | | -## Miscellaneous / Non-standard |
| 88 | +## Other / Non-standard / Deprecated |
70 | 89 |
|
71 | 90 | ## See also |
72 | 91 |
|
73 | 92 | - https://www.iana.org/assignments/http-fields/http-fields.xhtml |
74 | 93 | - https://www.geeksforgeeks.org/web-tech/http-headers/ |
75 | 94 | - https://github.com/mnot/redbot/blob/c47e907f0c76003fa6411e5a1ce0c9e35635d559/redbot/speak.py#L20-L27 |
76 | | -- [MDN HTTP headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers) |
| 95 | +- [MDN HTTP headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers) |
77 | 96 |
|
78 | 97 | ```javascript |
79 | 98 | Array.from(document.querySelectorAll("h2 > a")).map(function(anchor){return anchor.innerText}).join(","); |
80 | | -// "Authentication,Caching,Conditionals,Connection management,Content negotiation,Controls,Cookies,CORS,Downloads,Integrity digests,Integrity policy,Message body information,Preferences,Proxies,Range requests,Redirects,Request context,Response context,Security,Server-sent events,Transfer coding,WebSockets,Other,Experimental headers,Non-standard headers,Deprecated headers,See also" |
| 99 | +// "Authentication,Caching,Conditionals,Connection management,Content negotiation,Controls,Cookies,CORS,Downloads,Integrity digests,Integrity policy,Message body information,Preferences,Proxies,Range requests,Redirects,Request context,Response context,Security,Fetch storage access headers,Server-sent events,Transfer coding,WebSockets,Other,Experimental headers,Non-standard headers,Deprecated headers,See also" |
81 | 100 | ``` |
0 commit comments