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

fix: parseHeaders should take Record<string, ...> #3244

Closed
wants to merge 1 commit into from
Closed

Conversation

ronag
Copy link
Member

@ronag ronag commented May 10, 2024

This relates to...

Rationale

Changes

Features

Bug Fixes

Breaking Changes and Deprecations

Status

@ronag ronag requested a review from mcollina May 10, 2024 19:33
@ronag ronag force-pushed the parse.headers branch 5 times, most recently from c2207cf to c5d4379 Compare May 10, 2024 19:38
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

Can you add a test? What is this fixing?

@ronag
Copy link
Member Author

ronag commented May 12, 2024

Can you add a test? What is this fixing?

It's fixing so that the function does what the types say. Since we export this function it's important that it's correct.

ronag added a commit to nxtedition/nxt-undici that referenced this pull request May 12, 2024
ronag added a commit to nxtedition/nxt-undici that referenced this pull request May 12, 2024
@ronag ronag closed this May 12, 2024
@ronag
Copy link
Member Author

ronag commented May 12, 2024

Added in nxt-undici for now. If someone wants to makes tests feel free to take over.

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.

3 participants