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

iisnode does not support multiple Set-Cookie header #156

Closed
compulim opened this issue Apr 23, 2012 · 1 comment
Closed

iisnode does not support multiple Set-Cookie header #156

compulim opened this issue Apr 23, 2012 · 1 comment
Labels

Comments

@compulim
Copy link

In chttpprotocol.cpp:501, iisnode uses IHttpResponse.SetHeader() to write HTTP header back to IIS. MSDN docs at http://msdn.microsoft.com/en-us/library/ms694295(v=vs.90).aspx.

As the last parameter is set to TRUE, iisnode keep replacing the response header, i.e. de-duping.

One thing that it broke is multiple "Set-Cookie" header, which could easily appears multiple times in a response header.

Please set it to FALSE, or whitelisting HTTP headers that allows multiple values.

Thanks!

@tjanczuk
Copy link
Owner

Thank you for reporting this. I will fix it in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants