aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJiale Zhi <vipcalio@gmail.com>2016-06-07 11:31:38 -0700
committerJiale Zhi <vipcalio@gmail.com>2016-06-07 11:31:38 -0700
commit3edcd960ba9e3b2154cd3a24bf3e12f3a2a598a6 (patch)
tree3b5af925ce4c600aceaef10665378a626ebd4c8a /README.md
parentb83165199e63eec5c7e58f489eb4ac17657e7c46 (diff)
parent8f414390cc72da90e9a450a2127acaea247e3dda (diff)
downloadlua-resty-cookie-master.tar.gz
lua-resty-cookie-master.tar.bz2
lua-resty-cookie-master.zip
Merge branch 'p0pr0ck5-master'HEADmaster
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 5ac833d..3248285 100644
--- a/README.md
+++ b/README.md
@@ -62,7 +62,7 @@ Synopsis
key = "Name", value = "Bob", path = "/",
domain = "example.com", secure = true, httponly = true,
expires = "Wed, 09 Jun 2021 10:18:14 GMT", max_age = 50,
- extension = "a4334aebaec"
+ samesite = "Strict", extension = "a4334aebaec"
})
if not ok then
ngx.log(ngx.ERR, err)
@@ -122,6 +122,7 @@ syntax: ok, err = cookie_obj:set({
secure = true, httponly = true,
expires = "Wed, 09 Jun 2021 10:18:14 GMT",
max_age = 50,
+ samesite = "Strict",
extension = "a4334aebaec"
})
```