h2non / gock

HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
https://pkg.go.dev/github.com/h2non/gock
MIT License
2.09k stars 107 forks source link

Support multiple response headers with same name #35 #36

Closed steinfletcher closed 6 years ago

steinfletcher commented 6 years ago

This change adds support for defining multiple headers with the same name on a response. This is commonly desired when using Set-Cookie

steinfletcher commented 6 years ago

Not sure why TestMatchQueryParams fails in CI. Doesn't seem related to changes. Flaky test?

steinfletcher commented 6 years ago

OK, tests fail against tip - develop branch in go. I updated the config to run against stable and it passes. Not sure what the issue is with tip and how you want to proceed.

h2non commented 6 years ago

Cool, thanks!