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

Preserve upper and lower case for header keys. #90

Open
Isolus opened this issue Dec 6, 2019 · 0 comments
Open

Preserve upper and lower case for header keys. #90

Isolus opened this issue Dec 6, 2019 · 0 comments

Comments

@Isolus
Copy link

Isolus commented Dec 6, 2019

Even if it doesn't make any difference according to the standards, there is one in practice. For example, rspamd increases the spam score for Mime-Version (instead of MIME-Version). Some time ago the code in this repo was changed to set MIME-Version instead of Mime-Version. But the usage of net/textproto applies CanonicalMIMEHeaderKey on all header keys which changes MIME-Version back to Mime-Version. golang/go#29965 suggets forking net/textproto.

eos175 added a commit to eos175/email that referenced this issue Dec 17, 2021
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

No branches or pull requests

1 participant