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

Support SameSite cookie attribute #488

Merged
merged 3 commits into from Dec 13, 2018
Merged

Support SameSite cookie attribute #488

merged 3 commits into from Dec 13, 2018

Conversation

ghost
Copy link

@ghost ghost commented Dec 12, 2018

This is an implementation of the SameSite attribute for cookies. It is inspired by go v1.11's net/http implementation of the SameSite attribute, seen here: https://golang.org/src/net/http/cookie.go?s=4244:4276#L214

This PR addresses issue #489.

@ghost ghost changed the title Fixed typo in Cookie tests. Support SameSite cookies Dec 12, 2018
@ghost ghost changed the title Support SameSite cookies Support SameSite cookie attribute Dec 12, 2018
@ghost
Copy link
Author

ghost commented Dec 12, 2018

I believe this failed build has nothing to do with my changes.

cookie.go Show resolved Hide resolved
@erikdubbelboer
Copy link
Collaborator

Very nice, just one small addition requested and then it can be merged.

@erikdubbelboer erikdubbelboer merged commit 62dcd6f into valyala:master Dec 13, 2018
@erikdubbelboer
Copy link
Collaborator

Thanks.

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

Successfully merging this pull request may close these issues.

1 participant