mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-10 02:20:28 +00:00
feat: HTTP add TLS fingerprint fallback (#1444)
This commit is contained in:
68 files changed
+7243
-1604
No files matched your search
+8
@@ -0,0 +1,8 @@
|
||||
// META: global=window,worker
|
||||
// META: title=Response: error static method
|
||||
|
||||
promise_test (async () => {
|
||||
const response = await fetch("../resources/data.json");
|
||||
assert_throws_js(TypeError, () => { response.headers.append("name", "value"); });
|
||||
assert_not_equals(response.headers.get("name"), "value", "response headers should be immutable");
|
||||
}, "Ensure response headers are immutable");
|
||||
Reference in new issue
Block a user