diff --git a/src/utils/body.ts b/src/utils/body.ts index c4068a1a..581d9d6b 100644 --- a/src/utils/body.ts +++ b/src/utils/body.ts @@ -90,6 +90,8 @@ export function readRawBody( if (_resolved.constructor === Object) { return Buffer.from(JSON.stringify(_resolved)); } + // TODO: Handle other BodyInit types + // https://developer.mozilla.org/en-US/docs/Web/API/Response/Response#body if (_resolved instanceof URLSearchParams) { return Buffer.from(_resolved.toString()); }