diff --git a/index.js b/index.js index 476331f..9c26756 100644 --- a/index.js +++ b/index.js @@ -55,7 +55,7 @@ async function getResponse(request, config) { ok: stageOne.ok, status: stageOne.status, statusText: stageOne.statusText, - headers: new Headers(stageOne.headers), // Make a copy of headers + headers: Object.fromEntries(stageOne.headers.entries()), config: config, request, };