From b73b137ffb0690129ba0d7b70dc862d4cec73fb6 Mon Sep 17 00:00:00 2001 From: Percs <83934299+Percslol@users.noreply.github.com> Date: Mon, 21 Oct 2024 00:06:39 -0500 Subject: [PATCH] add back raw headers --- src/client.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client.ts b/src/client.ts index 788647e..284e49b 100644 --- a/src/client.ts +++ b/src/client.ts @@ -201,8 +201,7 @@ export class BareClient { status: resp.status, statusText: resp.statusText, }) as BareResponse; - responseobj.rawResponse = new Response(resp.body); - + responseobj.rawHeaders = resp.headers; responseobj.finalURL = urlO.toString();