When POSTing a request to a URL backed by a Golang handler func, where the same header is set twice, Vercel seems to crash before calling our handler function.
To reproduce:
- Deploy this repo to Vercel
- Call the api/bug.go handler with duplicate HTTP headers:
curl -i -H "Foo: bar" -H "Foo: baz" https://vercel-bug-repro.vercel.app/api/bug.go
- Observe the 500 error
Note that if removing the duplicate headers, the request works: curl -i -H "Food: bar" -H "Foo: baz" https://vercel-bug-repro.vercel.app/api/bug.go