mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
## Summary - Fixes #26422 - Preserve HTTP header case when sending requests (e.g., `Content-Type` instead of `content-type`) - HTTP headers are technically case-insensitive per RFC 7230, but many APIs expect specific casing ## Test plan - [x] Added tests that verify headers are sent with proper case on the wire - [x] Tests use raw TCP sockets to capture actual HTTP wire format - [x] Tests fail with system Bun (lowercase headers), pass with fixed build 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-authored-by: Claude Bot <claude-bot@bun.sh> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>