Skip to content

Conversation

guybrush
Copy link

This way it would be possible to set cookie-attributes based on the request

@guybrush guybrush changed the title Replace static cookie-config with cookie-func @guybrush Add CookieFunc to update cookie based on request before writing it to http-response May 14, 2024
@guybrush guybrush changed the title @guybrush Add CookieFunc to update cookie based on request before writing it to http-response Add CookieFunc to update cookie based on request before writing it to http-response May 14, 2024
@alexedwards
Copy link
Owner

@guybrush Thanks for the PR. Can you describe a real-world scenario where this is required? As far as I know, apart from Partitioned, all the cookie settings can be configured via SessionManager.Cookie already, so this would only be useful if you want to change the cookie settings on a per-request basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants