aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authormbj36 <mohitbajo36@gmail.com>2018-11-16 16:38:39 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2018-11-16 16:39:22 +0000
commitb1e8846dfb619dedbb90ef0b8edbbde2f5e766ea (patch)
tree8cc60285a434640be1f75b3722d757d56d52eb9a /src/net/http
parent41660d0086b302654fce0c948b84e464095398a1 (diff)
downloadgo-b1e8846dfb619dedbb90ef0b8edbbde2f5e766ea.tar.xz
net/http: fix typo in the SameSite docs
Fixes #28244 Change-Id: I3ca36fd513f5543af0c8af254d267254c7d5e803 GitHub-Last-Rev: 83b16fac4e221a249ed036c034367d6f680ae578 GitHub-Pull-Request: golang/go#28302 Reviewed-on: https://go-review.googlesource.com/c/143480 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/http')
-rw-r--r--src/net/http/cookie.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/cookie.go b/src/net/http/cookie.go
index 289c3c37b1..ad7903f074 100644
--- a/src/net/http/cookie.go
+++ b/src/net/http/cookie.go
@@ -38,7 +38,7 @@ type Cookie struct {
// 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 to mitigate the risk of cross-origin information leakage, and provides
+// goal is to mitigate the risk of cross-origin information leakage, and provide
// some protection against cross-site request forgery attacks.
//
// See https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00 for details.