mirror of
https://github.com/rommapp/romm.git
synced 2026-12-03 02:24:09 +01:00
A zero-byte file splits into zero chunks, and the chunked upload start endpoint required at least one byte and one chunk, so it answered 422 before the upload began. An empty file now starts with zero chunks and goes straight to /complete, which writes it empty. A non-empty file declaring zero chunks is still refused. The upload store only marks a file finished from chunk progress, so an empty file is marked done explicitly. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011ZaRofXECKT5Jom48cLeav