Skip to content

Commit 21c3209

Browse files
authored
Add HTTP authentication (#2238)
1 parent 9b14b1e commit 21c3209

File tree

7 files changed

+66
-52
lines changed

7 files changed

+66
-52
lines changed

features/draft/spec/rfc4120.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

features/draft/spec/rfc4120.yml.dist

Lines changed: 0 additions & 18 deletions
This file was deleted.

features/draft/spec/rfc7616.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

features/http-authentication.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: HTTP authentication
2+
description: The `Authorization` and `WWW-Authenticate` headers authenticate a user with a server.
3+
spec:
4+
- https://httpwg.org/specs/rfc9110.html#authentication
5+
- https://httpwg.org/specs/rfc7616.html
6+
- https://www.rfc-editor.org/rfc/rfc4120
7+
status:
8+
compute_from:
9+
- http.headers.Authorization
10+
- http.headers.WWW-Authenticate
11+
compat_features:
12+
- http.headers.Authorization
13+
- http.headers.Authorization.Basic
14+
- http.headers.Authorization.Digest
15+
- http.headers.Authorization.Digest.SHA-256
16+
- http.headers.Authorization.Digest.md5
17+
- http.headers.Authorization.NTLM
18+
- http.headers.Authorization.Negotiate
19+
- http.headers.Authorization.authorization_removed_cross_origin
20+
- http.headers.WWW-Authenticate
21+
- http.headers.WWW-Authenticate.Basic
22+
- http.headers.WWW-Authenticate.Digest
23+
- http.headers.WWW-Authenticate.Digest.SHA-256
24+
- http.headers.WWW-Authenticate.Digest.md5
25+
- http.headers.WWW-Authenticate.NTLM
26+
- http.headers.WWW-Authenticate.Negotiate

features/draft/spec/rfc7616.yml.dist renamed to features/http-authentication.yml.dist

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1-
# Generated from: rfc7616.yml
1+
# Generated from: http-authentication.yml
22
# Do not edit this file by hand. Edit the source file instead!
33

44
status:
5-
baseline: false
5+
baseline: high
6+
baseline_low_date: 2015-07-29
7+
baseline_high_date: 2018-01-29
68
support:
7-
chrome: "117"
8-
chrome_android: "117"
9-
edge: "117"
10-
firefox: "93"
11-
firefox_android: "93"
9+
chrome: "1"
10+
chrome_android: "18"
11+
edge: "12"
12+
firefox: "1"
13+
firefox_android: "4"
14+
safari: "1"
15+
safari_ios: "1"
1216
compat_features:
17+
# ⬇️ Same status as overall feature ⬇️
1318
# baseline: high
1419
# baseline_low_date: 2015-07-29
1520
# baseline_high_date: 2018-01-29
@@ -21,6 +26,10 @@ compat_features:
2126
# firefox_android: "4"
2227
# safari: "1"
2328
# safari_ios: "1"
29+
- http.headers.Authorization
30+
- http.headers.Authorization.Basic
31+
- http.headers.WWW-Authenticate
32+
- http.headers.WWW-Authenticate.Basic
2433
- http.headers.WWW-Authenticate.Digest
2534
- http.headers.WWW-Authenticate.Digest.md5
2635

@@ -38,7 +47,22 @@ compat_features:
3847
- http.headers.Authorization.Digest
3948
- http.headers.Authorization.Digest.md5
4049

41-
# ⬇️ Same status as overall feature ⬇️
50+
# baseline: high
51+
# baseline_low_date: 2020-01-15
52+
# baseline_high_date: 2022-07-15
53+
# support:
54+
# chrome: "1"
55+
# chrome_android: "18"
56+
# edge: "79"
57+
# firefox: "1"
58+
# firefox_android: "4"
59+
# safari: ≤7
60+
# safari_ios: ≤7
61+
- http.headers.Authorization.NTLM
62+
- http.headers.Authorization.Negotiate
63+
- http.headers.WWW-Authenticate.NTLM
64+
- http.headers.WWW-Authenticate.Negotiate
65+
4266
# baseline: false
4367
# support:
4468
# chrome: "117"
@@ -48,3 +72,11 @@ compat_features:
4872
# firefox_android: "93"
4973
- http.headers.Authorization.Digest.SHA-256
5074
- http.headers.WWW-Authenticate.Digest.SHA-256
75+
76+
# baseline: false
77+
# support:
78+
# firefox: "111"
79+
# firefox_android: "111"
80+
# safari: "16.1"
81+
# safari_ios: "16.1"
82+
- http.headers.Authorization.authorization_removed_cross_origin

features/http11.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ compat_features:
99
- http.headers.Accept-Language
1010
- http.headers.Accept-Ranges
1111
- http.headers.Age
12-
- http.headers.Authorization
13-
- http.headers.Authorization.Basic
1412
- http.headers.Cache-Control
1513
- http.headers.Connection
1614
- http.headers.Content-Disposition
@@ -44,8 +42,6 @@ compat_features:
4442
- http.headers.User-Agent
4543
- http.headers.Vary
4644
- http.headers.Via
47-
- http.headers.WWW-Authenticate
48-
- http.headers.WWW-Authenticate.Basic
4945
- http.methods.CONNECT
5046
- http.methods.DELETE
5147
- http.methods.GET

features/http11.yml.dist

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ compat_features:
3131
- http.headers.Accept-Language
3232
- http.headers.Accept-Ranges
3333
- http.headers.Age
34-
- http.headers.Authorization
35-
- http.headers.Authorization.Basic
3634
- http.headers.Cache-Control
3735
- http.headers.Connection
3836
- http.headers.Content-Disposition
@@ -65,8 +63,6 @@ compat_features:
6563
- http.headers.User-Agent
6664
- http.headers.Vary
6765
- http.headers.Via
68-
- http.headers.WWW-Authenticate
69-
- http.headers.WWW-Authenticate.Basic
7066
- http.methods.CONNECT
7167
- http.methods.DELETE
7268
- http.methods.GET

0 commit comments

Comments
 (0)