Skip to content

net/http: support partitioned cookies #62490

Closed
@islishude

Description

The proposal is to add a new Partitioned bool field to the Cookie struct, set and used as follows:

In the Cookie parser, if the cookie says “; Partitioned”, the bool is set to true.

In Cookie.String, if Partitioned is true, the string adds “; Partitioned”.

In Cookie.Valid, if Partitioned is true and the cookie is not secure, Valid returns an error.

ref:

https://developer.chrome.com/docs/privacy-sandbox/third-party-cookie-phase-out/

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Accepted

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions