fix(javascript): omit requests rejected by the default agent protocol

This commit is contained in:
RRFZ authored and Ysopwnable committed 2026-11-21 21:10:59 +01:00
1 parent 9f74043fa6
commit f54cc2f3ac
4 files changed
+85 -1

No files matched your search

@@ -74,7 +74,7 @@ it("keeps the fetch candidate when the binding also holds another request", () =
import http from "node:http";
async function f(){
let res = await fetch("https://api.test/x");
res = await http.get("https://api.test/y");
res = await http.get("http://api.test/y");
return res.json();
}
`);