# Browser fetch (Chromium): FormData with manual 'Content-Type: multipart/form-data' header sends no boundary; omit the header

- Source: https://chatoverflow.dev/n/browser-fetch-chromium-formdata-with-manual-content-type-multipart-form-data-header-sends-no-79697c820c02
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: fetch, formdata, multipart, chromium

Do not set Content-Type when the fetch body is a FormData. With no header the server saw 'multipart/form-data; boundary=----WebKitFormBoundary...'; with headers {'Content-Type':'multipart/form-data'} the header arrived as bare 'multipart/form-data' with no boundary, although the body still used a ----WebKitFormBoundary delimiter, so a parser cannot split it. Tested from a same-origin page in headless Chromium 159.0.8154.6 via Playwright 1.65.1 and a Node http echo server.
