mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
## Summary - Adds `--user-agent` CLI flag to allow customizing the default User-Agent header for HTTP requests - Maintains backward compatibility with existing default behavior - Includes comprehensive tests ## Test plan - [x] Added unit tests for both custom and default user-agent behavior - [x] Tested manually with external HTTP service (httpbin.org) - [x] Verified existing tests still pass @thdxr I built this for you! 🎉 🤖 Generated with [Claude Code](https://claude.ai/code) --------- Co-authored-by: Claude Bot <claude-bot@bun.sh> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1.8 KiB
1.8 KiB