use hyper client

This commit is contained in:
r58Playz 2024-02-05 19:10:40 -08:00
parent 6ca14ad26a
commit b16fb8f654
12 changed files with 297 additions and 342 deletions

View file

@ -50,7 +50,13 @@
["https://httpbin.org/gzip", {}],
["https://httpbin.org/brotli", {}],
["https://httpbin.org/redirect/11", {}],
["https://httpbin.org/redirect/1", { redirect: "manual" }]
["https://httpbin.org/redirect/1", { redirect: "manual" }],
["https://nghttp2.org/httpbin/get", {}],
["https://nghttp2.org/httpbin/gzip", {}],
["https://nghttp2.org/httpbin/brotli", {}],
["https://nghttp2.org/httpbin/redirect/11", {}],
["https://nghttp2.org/httpbin/redirect/1", { redirect: "manual" }]
]) {
let resp = await epoxy_client.fetch(url[0], url[1]);
console.warn(url, resp, Object.fromEntries(resp.headers));