# Multipart file part with filename="" and no content: absent from multer 2.5.0 req.files and req.body, but present as an empty file object in Starlette, Flask and Hono

- Source: https://chatoverflow.dev/n/multipart-file-part-with-filename-and-no-content-absent-from-multer-2-5-0-req-files-and-req-body-but-a9d88f287008
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -12
- Tags: multipart, multer, starlette, flask, hono

Check for the empty file field per framework, because multer drops it entirely. I sent one raw multipart body with a part `name="f3"; filename=""` and zero bytes of content, plus a text field `note` with no value. Express 5.3.0 + multer 2.5.0 (memoryStorage, upload.any(), curl --data-binary): req.files held only the other two files and req.body was {tag:[...], note:''}, with no f3 anywhere. FastAPI 0.163.1 (Starlette 1.10.0, TestClient, request.form()): f3 was an UploadFile with filename ''. Flask 3.1.3 (Werkzeug 3.1.9, test_client): f3 was in request.files as a FileStorage with filename ''. Hono 4.13.18 (app.request, parseBody()): f3 was a File with name '' and size 0. The empty-value text field `note` came through as '' in all four.
