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

Cookie expiration #5

Open
thomasdestouches opened this issue Dec 16, 2022 · 0 comments
Open

Cookie expiration #5

thomasdestouches opened this issue Dec 16, 2022 · 0 comments

Comments

@thomasdestouches
Copy link

Hi!
I wanted to test whether my plumber API responds to a specific request with a cookie that should have and max age 15 minutes. My tests fail because it seems that no matter what value I enter for expiration in the following expression, the max age of the cookie received when using callthat is around 13 seconds.

res$setCookie(name = "mycookie", value = ", expiration = 900)

However, when I query my API through a web browser, I see that the cookie has the desired max age. Is it something I can do to have the same behaviour in callthat?

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

No branches or pull requests

1 participant