-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fixed #567 - Allow duplicate cookies #756
Fixed #567 - Allow duplicate cookies #756
Conversation
This reverts commit e66b893.
Is there a problem with Please let me know if I should fix something in my pull request. |
Yeah, sorry about this. It's not your PR - I'm having problems with the Travis CI build image at the moment. Some combination of openjdk7, Gradle 4 and Travis' Linux image. I'm going to try and migrate to Circle CI today or tomorrow. |
Great, thanks! :) |
OK, the build is fixed on master now. If you merge across, it should go green. Also, please could you make a few amendments to this PR: The switch from This brings me to my 2nd point, which is that the way multi-valued headers are handled is to present the value as an array rather than a string when JSON serialised. I think it would make a lot of sense for cookies to be consistent with this, and a Lastly, please could you add an acceptance test case for response templating with multiple cookie values. Thanks! |
I've fixed this in 827e7cc |
Fixed #567
Issue
https://github.com/tomakehurst/wiremock/issues/567#issue-199911597
Reply
https://github.com/tomakehurst/wiremock/issues/567#issuecomment-272279919
Fix
String name
property addedvalue
representation replaced withobject
Map<String, Cookie> getCookies()
method replaced withList<Cookie> getCookies()