Skip to content

Refactor to list-based, ordered, multi-valued headers#229

Open
andrewtimberlake wants to merge 1 commit into
DockYard:masterfrom
andrewtimberlake:headers-to-list
Open

Refactor to list-based, ordered, multi-valued headers#229
andrewtimberlake wants to merge 1 commit into
DockYard:masterfrom
andrewtimberlake:headers-to-list

Conversation

@andrewtimberlake
Copy link
Copy Markdown
Collaborator

@andrewtimberlake andrewtimberlake commented May 11, 2026

This is a breaking change that adds support for multiple headers of the same value.
This is expected for headers like Received, DKIM-Signature, Authorized-Results and more
This is allowed, but not expected for To, From, Subject etc.
Because some headers are expected to only have a single entry, we now have get_header!/2, get_to!/1 etc

I’ve added an Upgrade guide to outline how the changes will affect existing code.

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