Skip to content

Conversation

@Phillip9587
Copy link
Contributor

Replaced the setHeaders function with a loop that sets headers directly using Object.entries. This change eliminates the need for the separate setHeaders function.

Copy link
Member

@wesleytodd wesleytodd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the kinds of changes I wish we had some benchmarks around. That said, I think we should land this today so we can release it and get it into the next express v5 release. We can figure out perf after that.

@wesleytodd wesleytodd merged commit 91e7957 into pillarjs:master Feb 10, 2025
8 checks passed
@wesleytodd wesleytodd mentioned this pull request Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants