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: validate header names and values #69

Merged
merged 2 commits into from
Sep 13, 2023
Merged

Conversation

kettanaito
Copy link
Member

Improves specification compliance by adding:

  • Header name validation to .has(), .get(), .set(), .append(), and .delete() methods;
  • Header value validation to the applicable methods.
  • Header value normalization to the applicable methods.

@kettanaito kettanaito merged commit ad5ead7 into main Sep 13, 2023
@kettanaito kettanaito deleted the fix/header-validation branch September 13, 2023 16:25
@kettanaito
Copy link
Member Author

Released: v3.2.5 🎉

This has been released in v3.2.5!

Make sure to always update to the latest version (npm i headers-polyfill@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

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.

1 participant