HF RL Explorer

Support streaming file uploads in form actions with a custom binary encoding

Support streaming file uploads in form actions with a custom binary encoding: a task in LegoFlow-SWE (Harbor dataset). When a form containing file inputs is submitted to a SvelteKit remote function, the server calls request.formData() . This downloads the entire request body before any processing…

The task

When a form containing file inputs is submitted to a SvelteKit remote function, the server calls `request.formData()`. This downloads the entire request body before any processing can start. It leads to unacceptable latency and memory pressure for large files, and is especially wasteful for validation-only…

Part of Lego-X/LegoFlow-SWE.