Commit 00379be1 authored by Alan Braithwaite's avatar Alan Braithwaite Committed by Brad Fitzpatrick

net/http: fix cookie SameSite docs grammar

Change-Id: I76d878343c1cc14b53c700b0476ca050c1f9e6be
GitHub-Last-Rev: 148a45f4b63f7f55312112bbbd982f9927ac9e6e
GitHub-Pull-Request: golang/go#27107
Reviewed-on: https://go-review.googlesource.com/130235Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 77c575d2
......@@ -36,10 +36,10 @@ type Cookie struct {
Unparsed []string // Raw text of unparsed attribute-value pairs
}
// SameSite allows a server define a cookie attribute making it impossible to
// the browser send this cookie along with cross-site requests. The main goal
// is mitigate the risk of cross-origin information leakage, and provides some
// protection against cross-site request forgery attacks.
// SameSite allows a server 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
// some protection against cross-site request forgery attacks.
//
// See https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00 for details.
type SameSite int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment