aboutsummaryrefslogtreecommitdiff
path: root/strings.go
diff options
context:
space:
mode:
authorGravatar Rem <remi@sirdata.fr> 2019-06-14 16:07:33 +0200
committerGravatar Erik Dubbelboer <erik@dubbelboer.com> 2019-06-14 16:07:33 +0200
commit9ba4cef1bac8ebc8fe71123bd20cfc681fdb78a8 (patch)
tree07e605ef26a9ed4c1445fdc3bd9537d220b00a91 /strings.go
parentADD TimeoutWithCodeHandler support (#589) (diff)
downloadfasthttp-9ba4cef1bac8ebc8fe71123bd20cfc681fdb78a8.tar.gz
fasthttp-9ba4cef1bac8ebc8fe71123bd20cfc681fdb78a8.tar.bz2
fasthttp-9ba4cef1bac8ebc8fe71123bd20cfc681fdb78a8.zip
Support SameSite value "None" cookie attribute (#581)
* Support SameSite value "None" cookie attribute * Fix typo in CookieSameSiteNoneMode comment * fix comment for SameSite None
Diffstat (limited to 'strings.go')
-rw-r--r--strings.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/strings.go b/strings.go
index 6fef4ea..f654f95 100644
--- a/strings.go
+++ b/strings.go
@@ -62,6 +62,7 @@ var (
strCookieSameSite = []byte("SameSite")
strCookieSameSiteLax = []byte("Lax")
strCookieSameSiteStrict = []byte("Strict")
+ strCookieSameSiteNone = []byte("None")
strClose = []byte("close")
strGzip = []byte("gzip")