diff --git a/src/net.ts b/src/net.ts index 39f0551..cc8df6a 100644 --- a/src/net.ts +++ b/src/net.ts @@ -64,7 +64,9 @@ export const signedFetch = async (url: string, init: RequestInit, signedInit: Si else throw "unsupported headers type"; // Lazy. console.log("Headers:"); - newHeaders.forEach((header) => console.log(header)); + for (const [key, value] of newHeaders) { + console.log(`${key}: ${value}`); + } return fetch(url, { ...init,