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

'Set' headers instead of 'Add' to prevent duplicate header fields #1

Merged
merged 1 commit into from
May 20, 2015

Conversation

wienczny
Copy link
Contributor

This PR fixes mailhog/MailHog#49

For several headers that have to be unique 'Set' should be used instead of 'Add'.
I had to change the control flow in 195ff to filter the header names and act accordingly.

@ian-kent
Copy link
Member

awesome, thanks 👍

ian-kent added a commit that referenced this pull request May 20, 2015
'Set' headers instead of 'Add' to prevent duplicate header fields
@ian-kent ian-kent merged commit fec2db1 into mailhog:master May 20, 2015
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.

Duplicate Content-Disposition Header on File Download
2 participants