fetch: header tweaks to improve compliance with fetch spec (#33562)

* fetch: various header tweaks to improve compliance with fetch spec

Signed-off-by: Shane Handley <shanehandley@fastmail.com>

* fix: simplify the authorization header removal

Signed-off-by: Shane Handley <shanehandley@fastmail.com>

---------

Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
shanehandley 2024-09-28 02:05:55 +10:00 committed by GitHub
parent f96a62f0ce
commit c7ef974968
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 21 additions and 61 deletions

View file

@ -1,8 +0,0 @@
[cors-filtering.sub.any.html]
[CORS filter on Content-Length header]
expected: FAIL
[cors-filtering.sub.any.worker.html]
[CORS filter on Content-Length header]
expected: FAIL

View file

@ -2,13 +2,8 @@
expected: ERROR
[authentication-redirection.any.html]
[getAuthorizationHeaderValue - cross origin redirection]
expected: FAIL
[authentication-redirection.any.serviceworker.html]
expected: ERROR
[authentication-redirection.any.worker.html]
[getAuthorizationHeaderValue - cross origin redirection]
expected: FAIL