From ed1ba01d3a0350018e6aa63df42f24f21c47bb22 Mon Sep 17 00:00:00 2001 From: Percs <83934299+Percslol@users.noreply.github.com> Date: Sun, 14 Jul 2024 13:36:15 -0500 Subject: [PATCH] allow readablestreams to be sent as the request body --- src/worker/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/worker/index.ts b/src/worker/index.ts index 582aace..6fd93d2 100644 --- a/src/worker/index.ts +++ b/src/worker/index.ts @@ -39,6 +39,8 @@ self.ScramjetServiceWorker = class ScramjetServiceWorker { mode: request.mode === "cors" ? request.mode : "same-origin", cache: request.cache, redirect: request.redirect, + //@ts-ignore why the fuck is this not typed mircosoft + duplex: "half", }); let responseBody;