From d2a3f2cedd7c00d0933222aed9c06b3149aa4db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 4 Apr 2018 13:13:37 +0200 Subject: Cowboy 2.3.0 --- .../2.2/manual/cowboy_req.set_resp_cookie/index.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'docs/en/cowboy/2.2/manual/cowboy_req.set_resp_cookie') diff --git a/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_cookie/index.html b/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_cookie/index.html index e44817f0..104f58ae 100644 --- a/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_cookie/index.html +++ b/docs/en/cowboy/2.2/manual/cowboy_req.set_resp_cookie/index.html @@ -7,7 +7,7 @@ - + Nine Nines: cowboy_req:set_resp_cookie(3) @@ -77,7 +77,7 @@

Description

-
@@ -168,7 +168,7 @@ otherwise the cookie will not be sent in the response.

Set a session cookie
-
@@ -176,7 +176,7 @@ http://www.gnu.org/software/src-highlite --> Req = cowboy_req:set_resp_cookie(<<"sessionid">>, SessionID, Req0).
Set a cookie with an expiration time
-
@@ -184,7 +184,7 @@ http://www.gnu.org/software/src-highlite --> Req0, #{max_age => 3600}).
Delete a cookie
-
@@ -192,7 +192,7 @@ http://www.gnu.org/software/src-highlite --> Req0, #{max_age => 0}).
Set a cookie for a specific domain and path
-
@@ -200,7 +200,7 @@ http://www.gnu.org/software/src-highlite --> Req0, #{domain => "my.example.org", path => "/account"}).
Restrict a cookie to HTTPS
-
@@ -209,7 +209,7 @@ http://www.gnu.org/software/src-highlite --> Req0, #{secure => true}).
Restrict a cookie to HTTP
-
@@ -262,6 +262,8 @@ http://www.gnu.org/software/src-highlite --> +
  • 2.3
  • +
  • 2.2
  • 2.1
  • -- cgit v1.2.3