Skip to content

Support multiple cookies in request for tester#150

Merged
appleboy merged 1 commit intogin-contrib:masterfrom
jmcshane:master
Mar 6, 2022
Merged

Support multiple cookies in request for tester#150
appleboy merged 1 commit intogin-contrib:masterfrom
jmcshane:master

Conversation

@jmcshane
Copy link
Copy Markdown
Contributor

@jmcshane jmcshane commented Mar 4, 2022

In theory, a session store could return multiple Set-Cookie headers from the request backend, so the tester library should support migrating all these cookies from the response to the request.

This PR updates the code to grab all cookies from the response and pass them to the subsequent request.

@appleboy appleboy merged commit d309d04 into gin-contrib:master Mar 6, 2022
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.

2 participants