From 04055af397fb6b6971857ff69f83e757e75e8b35 Mon Sep 17 00:00:00 2001 From: Justin Torre Date: Thu, 15 Jun 2023 15:01:13 -0700 Subject: [PATCH] make sure status is not lost on response object (#495) --- worker/src/lib/HeliconeProxyRequest/handler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/worker/src/lib/HeliconeProxyRequest/handler.ts b/worker/src/lib/HeliconeProxyRequest/handler.ts index d99566d75a..b3a7bfcee9 100644 --- a/worker/src/lib/HeliconeProxyRequest/handler.ts +++ b/worker/src/lib/HeliconeProxyRequest/handler.ts @@ -71,6 +71,7 @@ export async function handleProxyRequest( response: new Response(body, { ...response, headers: responseHeaders, + status: response.status, }), }, error: null,