From 5ee35e7eeb1c25f4491ac4b5918967b08e1a6817 Mon Sep 17 00:00:00 2001 From: Raphael Deem Date: Sun, 24 Dec 2017 02:33:52 -0800 Subject: [PATCH] add samesite cookie to cookie keys --- sanic/cookies.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sanic/cookies.py b/sanic/cookies.py index 8ad8cbfc..f4cbf6a3 100644 --- a/sanic/cookies.py +++ b/sanic/cookies.py @@ -83,6 +83,7 @@ class Cookie(dict): "secure": "Secure", "httponly": "HttpOnly", "version": "Version", + "samesite": "SameSite", } _flags = {'secure', 'httponly'}