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
Add support for Partitioned Cookies #55370
Labels
api-approved
API was approved in API review, it can be implemented
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Comments
amcasey
added
the
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
label
Apr 25, 2024
dotnet-issue-labeler
bot
added
the
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
label
Apr 25, 2024
amcasey
added a commit
to amcasey/aspnetcore
that referenced
this issue
Apr 25, 2024
...to support CHIPS (Cookies Having Independent Partitioned State). Fixes dotnet#53224 Fixes dotnet#55370
amcasey
added
api-ready-for-review
API is ready for formal API review - https://github.com/dotnet/apireviews
and removed
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
labels
Apr 25, 2024
Thank you for submitting this for API review. This will be reviewed by @dotnet/aspnet-api-review at the next meeting of the ASP.NET Core API Review group. Please ensure you take a look at the API review process documentation and ensure that:
|
|
API approved namespace Microsoft.Net.Http.Headers;
public class SetCookieHeaderValue
{
+ public bool Partitioned { get; set; }
} namespace Microsoft.AspNetCore.Http;
public class CookieBuilder
{
+ public virtual bool Partitioned { get; set; }
}
public class CookieOptions
{
+ public bool Partitioned { get; set; }
} |
amcasey
added
api-approved
API was approved in API review, it can be implemented
and removed
api-ready-for-review
API is ready for formal API review - https://github.com/dotnet/apireviews
labels
Apr 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api-approved
API was approved in API review, it can be implemented
area-networking
Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Background and Motivation
CHIPS is a draft for incrementally moving away from third-party cookies to improve privacy.
Feature request: #53224
PR: #55371
Proposed API
namespace Microsoft.Net.Http.Headers; public class SetCookieHeaderValue { + public bool Partitioned { get; set; } }
Usage Examples
You can also use a
CookieBuilder
, but that won't do any validation (as forSame-Site
).Alternative Designs
n/a
Risks
I understand the CHIPS spec isn't actually finalized.
The text was updated successfully, but these errors were encountered: