allow readablestreams to be sent as the request body

This commit is contained in:
Percs 2024-07-14 13:36:15 -05:00
parent 3edabf149c
commit ed1ba01d3a

View file

@ -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;