Note that bun runtime js/ts have three types one is normal http fetch request base on https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
The other is 'bun dev' and 'bun bun'. There is docs format for command line. Here for http server fetch request.
It is link from git bun readme.md
https://developer.mozilla.org/en-US/docs/Web/API/Headers
bun run dev (run on package.json as npm comand)
https://bun.sh/ <= bun