We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a716c40 commit 6575ee2Copy full SHA for 6575ee2
src/server/next-compat.ts
@@ -13,6 +13,7 @@ export function toNextRequest(input: Request | NextRequest): NextRequest {
13
return new NextRequest(input.url, {
14
method: input.method,
15
headers: input.headers,
16
+ // TODO: We might need to handle the case where body is a ReadableStream
17
body: input.body as any,
18
duplex: (input as any).duplex ?? "half"
19
});
0 commit comments