We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running netlify dev with golang functions, multi value headers are not working, but works in deploy preview, prod etc.
(This is specifically hindering me from testing a gin-gonic adapter setup locally, as the adapter uses multi value headers extensively)
git clone git@github.com:kasperstorgaard/netlify-golang-fn-tester.git
npx netlify dev
npm i && node_modules/.bin/netlify dev
localhost:8888/.netlify/functions/tester
Expected headers:
"x-single": "A" "x-multi": "B, C"
Actual headers:
"x-single": "A"
[functions] directory = "src"
System: OS: macOS 11.6 CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz Memory: 74.09 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm npmPackages: netlify-cli: ^10.0.0 => 10.1.0 npmGlobalPackages: netlify-cli: 10.0.0
The text was updated successfully, but these errors were encountered:
multiValueHeaders
danez
Successfully merging a pull request may close this issue.
Describe the bug
When running netlify dev with golang functions, multi value headers are not working, but works in deploy preview, prod etc.
(This is specifically hindering me from testing a gin-gonic adapter setup locally, as the adapter uses multi value headers extensively)
Steps to reproduce
git clone git@github.com:kasperstorgaard/netlify-golang-fn-tester.git
npx netlify dev
ORnpm i && node_modules/.bin/netlify dev
localhost:8888/.netlify/functions/tester
Expected headers:
Actual headers:
Configuration
[functions]
directory = "src"
Environment
System:
OS: macOS 11.6
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Memory: 74.09 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node
npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm
npmPackages:
netlify-cli: ^10.0.0 => 10.1.0
npmGlobalPackages:
netlify-cli: 10.0.0
The text was updated successfully, but these errors were encountered: