Skip to content

Commit 6575ee2

Browse files
committed
Added a TODO comment in node-compat
1 parent a716c40 commit 6575ee2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server/next-compat.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export function toNextRequest(input: Request | NextRequest): NextRequest {
1313
return new NextRequest(input.url, {
1414
method: input.method,
1515
headers: input.headers,
16+
// TODO: We might need to handle the case where body is a ReadableStream
1617
body: input.body as any,
1718
duplex: (input as any).duplex ?? "half"
1819
});

0 commit comments

Comments
 (0)