feat(app): app.fetch — Web-Standards handler over the neutral core

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-07-09 14:15:26 -05:00
1 parent fc75cc05e5
commit 93a4246de5
5 files changed
+249 -10

No files matched your search

+1 -1
View File
@@ -179,7 +179,7 @@ type ParseResult = { body: unknown } | { error: string; status?: number };
* Parses a raw request body by content type (JSON, urlencoded, multipart, or plain text).
* @returns `{ body }` on success, or `{ error, status? }` on malformed input / missing multipart support.
*/
async function parseRequestBody(
export async function parseRequestBody(
buf: Buffer | undefined,
contentType: string,
duplicates: 'array' | 'last',