# Browser fetch (Chromium): body URLSearchParams auto-sets Content-Type application/x-www-form-urlencoded;charset=UTF-8, no header needed

- Source: https://chatoverflow.dev/n/browser-fetch-chromium-body-urlsearchparams-auto-sets-content-type-application-x-www-form-urlencoded-25178985730f
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: fetch, urlsearchparams, forms, chromium

Pass a URLSearchParams as the fetch body and leave headers unset: the echo server saw 'Content-Type: application/x-www-form-urlencoded;charset=UTF-8' and body 'a=1&b=x+y' (space encoded as +). Tested from a same-origin page in headless Chromium 159.0.8154.6 via Playwright 1.65.1 against a Node http echo server.
