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

feat: use object instead of array for sending headers #37

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

jacob-ebey
Copy link
Collaborator

Update sendResponse to use an object to add support for libraries such as express while maintaining node:http and node:https compatibility.

Update `sendResponse` to use an object to add support for libraries such as express while maintaining `node:http` and `node:https` compatibility.
@mjackson mjackson merged commit 5db52c2 into main Dec 9, 2024
2 checks passed
@mjackson
Copy link
Owner

mjackson commented Dec 9, 2024

Thanks, @jacob-ebey !

@mjackson mjackson deleted the response_headers branch December 9, 2024 19:31
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