Skip to content
New issue

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

OutgoingMessage.setHeader() silently drops number values #17764

Open
eldargab opened this issue Feb 27, 2025 · 0 comments · May be fixed by #17769
Open

OutgoingMessage.setHeader() silently drops number values #17764

eldargab opened this issue Feb 27, 2025 · 0 comments · May be fixed by #17769
Labels
bug Something isn't working

Comments

@eldargab
Copy link

What version of Bun is running?

1.2.4

What platform is your computer?

Darwin 24.3.0 arm64 arm

What steps can reproduce the bug?

Run a simple http server and set some response header with number value

response.setHeader('x-number', 10)

What is the expected behavior?

HTTP response with x-header: 10.

What do you see instead?

HTTP response with an empty header value x-header:

Additional information

No response

@eldargab eldargab added bug Something isn't working needs triage labels Feb 27, 2025
@cirospaciari cirospaciari linked a pull request Feb 27, 2025 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants