-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Describe the bug
When I try to call getReader() on event.request.body in a handle function, I receive an error: response.body.getReader is not a function, even though autocompletion suggests that it should be possible.

Reproduction
See the log outputs after clicking on Test Request
https://stackblitz.com/edit/svelte-kit-p42fqc?file=src/hooks.ts
Logs
No response
System Info
System:
OS: Windows 10 10.0.19044
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 18.11 GB / 31.72 GB
Binaries:
Node: 16.11.1 - C:\Program Files\nodejs\node.EXE
npm: 8.0.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (97.0.1072.76)
Internet Explorer: 11.0.19041.1202
npmPackages:
@sveltejs/adapter-node: ^1.0.0-next.67 => 1.0.0-next.67
@sveltejs/kit: ^1.0.0-next.251 => 1.0.0-next.251
svelte: ^3.46.3 => 3.46.3Severity
annoyance
Additional Information
No response
Metadata
Metadata
Assignees
Labels
No labels