HonoRequest - Hono
Hey everyone!
I've got an annoying problem that I cannot solve with uploading multiple files over a
The
But no files are uploaded to R2, Miniflare reports
If I try with a single file it works and the file is uploaded correctly, what am I doing wrong?
I've got an annoying problem that I cannot solve with uploading multiple files over a
form-data request to R2 with Hono.The
parseBody() method is a utility from Hono https://hono.dev/api/request#parsebody to unpack the assets Files to a single entry, then I try to loop over them and upload each one to R2 like so:But no files are uploaded to R2, Miniflare reports
[mf:err] TypeError: Can't read from request stream because client disconnected. while on CF infra I can see that no data is passed to the logs, only empty objects {}If I try with a single file it works and the file is uploaded correctly, what am I doing wrong?

Ultrafast web framework for Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Lagon, Node.js, and others. Fast, but not only fast.

