mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 14:00:01 -04:00
use hyper client
This commit is contained in:
parent
6ca14ad26a
commit
b16fb8f654
12 changed files with 297 additions and 342 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue