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

Extend headers validation pattern #76

Merged
merged 2 commits into from
Jan 24, 2023
Merged

Conversation

AndyBitz
Copy link
Contributor

@AndyBitz AndyBitz commented Jan 24, 2023

  • Updates the headers value pattern to support all visible characters from ISO-8859-1, since the current pattern is very restrictive (more information in RFC9110)
  • Adds tests for the above change

Note: The RFC recommends to use only visible US-ASCII octets as values for headers, however, I don't think we should fail the validation for what could be possible as it'll depend on the actual HTTP server to parse that data.

@AndyBitz AndyBitz merged commit 36f4b63 into main Jan 24, 2023
@AndyBitz AndyBitz deleted the extend-headers-value-pattern branch January 24, 2023 18:18
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