-
Notifications
You must be signed in to change notification settings - Fork 107
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
Multiple response headers with same name are not set on http response #35
Comments
Right, in such case multiple headers should exist with the same key. Would you mind sending a PR? Thank you. |
Submitted PR, but a test fails in CI that I can't reproduce locally. Seems unrelated. It looks like Many thanks. |
Thanks for the PR! New patch version is now available. Try upgrading the package. |
Thanks @h2non! |
I am trying to set multiple cookies with the same name on the gock response, but it always seems to only set the first cookie on the response object.
Am I doing something wrong - is there a better way to set cookies?
The mergeHeaders function appears to be the culprit. I have a solution and test here: steinfletcher@75ea39d
Thanks
The text was updated successfully, but these errors were encountered: