Skip to content

Add Partitioned cookie attribute support - #9407

Open
eyupcanakman wants to merge 2 commits into
lysine-dev:mainfrom
eyupcanakman:fix/cookie-partitioned-attribute-8705
Open

eyupcanakman wants to merge 2 commits into
lysine-dev:mainfrom
eyupcanakman:fix/cookie-partitioned-attribute-8705

Conversation

@eyupcanakman

Copy link
Copy Markdown
Contributor

Cookie does not parse or expose the Partitioned attribute from Set-Cookie headers. The attribute is used for cross-site cookie partitioning (CHIPS) and callers have no way to read or set it.

Adds a partitioned boolean to Cookie and a partitioned() builder method. Both follow the secure and httpOnly pattern. Tests in CookieTest cover parsing, builder, toString round-trip, and equality.

Fixes #8705

@mkurz

This comment was marked as spam.

This branch has not been deployed

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Partioned attribute missing in Cookie

3 participants