A tiny reproducible for the cloudflare/workers-sdk#4849 showing that Origin header is ignored/lost after wrangler
upgrade to versions above (not inclusive) 3.24.0.
The following collection of snippets will display the issue.
git clone [email protected]:flexchar/workers-sdk-issue-4849.git
cd workers-sdk-issue-4849
npm install
npm run dev
curl -H 'Origin: http://copenhagen.dk' -H 'Referer: http://copenhagen.dk' http://localhost:8787