Skip to content

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

Merged
ian-kent merged 1 commit intomailhog:masterfrom
wienczny:master
May 20, 2015
Merged

'Set' headers instead of 'Add' to prevent duplicate header fields#1
ian-kent merged 1 commit intomailhog:masterfrom
wienczny:master

Conversation

@wienczny
Copy link
Copy Markdown
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
Copy Markdown
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