diff options
Diffstat (limited to 'js/fetch.ts')
-rw-r--r-- | js/fetch.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/fetch.ts b/js/fetch.ts index a28a81535..7cbaf7f10 100644 --- a/js/fetch.ts +++ b/js/fetch.ts @@ -403,6 +403,11 @@ export async function fetch( url = input.url; method = input.method; headers = input.headers; + + //@ts-ignore + if (input._bodySource) { + body = new DataView(await input.arrayBuffer()); + } } // Send Fetch message |