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

Support multiple cookies in request for tester #150

Merged
merged 1 commit into from
Mar 6, 2022

Conversation

jmcshane
Copy link
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