Parse formData before forwarding to prevent binary corruption

Fixkamo-internal
Shipped
April 24, 2026 at 6:30 AM UTC
Author
kamo
Commit
547b764

request.text() on multipart/form-data corrupts binary file bytes; pass parsed FormData as init.body so forwardToApi skips request.text() and lets fetch regenerate a clean multipart with a correct boundary.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing