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

Add tests for all characters allowed in header field names and bodies #48

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

mnako
Copy link
Owner

@mnako mnako commented Aug 16, 2023

Add tests for all characters permitted in header field names and bodies, as outlined in RFC 5322.

Use two distinct values for the same custom header to ensure the preservation of all values. Divide each example value across multiple lines to verify proper unfolding functionality.

The test values encompass a space and a horizontal tab for thoroughness. Placing the space and tab adjacently will prevent the collapse of multiple whitespace characters into a single one.

@mnako mnako merged commit 7e9763d into main Aug 29, 2023
4 checks passed
@mnako mnako deleted the test/rfc5322-2.2-custom-headers-ascii branch August 29, 2023 13:28
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