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.
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.