Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/net/http/cookie.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ type Cookie struct {
Unparsed []string // Raw text of unparsed attribute-value pairs
}

// SameSite allows a server define a cookie attribute making it impossible for
// SameSite allows a server to define a cookie attribute making it impossible for
// the browser to send this cookie along with cross-site requests. The main
// goal is mitigate the risk of cross-origin information leakage, and provides
// goal is to mitigate the risk of cross-origin information leakage, and provides
// some protection against cross-site request forgery attacks.
//
// See https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00 for details.
Expand Down