diff options
| -rw-r--r-- | src/webob/cookies.py | 4 | ||||
| -rw-r--r-- | src/webob/response.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/webob/cookies.py b/src/webob/cookies.py index d6736d4..a9f4b8c 100644 --- a/src/webob/cookies.py +++ b/src/webob/cookies.py @@ -471,8 +471,8 @@ def make_cookie(name, value, max_age=None, path='/', domain=None, Set a comment on the cookie. Default: ``None`` ``samesite`` - The 'SameSite' attribute of the cookie, can be either ``b"Strict"``, - ``b"Lax"``, or ``None``. + The 'SameSite' attribute of the cookie, can be either ``"Strict"``, + ``"Lax"``, or ``None``. """ # We are deleting the cookie, override max_age and expires diff --git a/src/webob/response.py b/src/webob/response.py index d7d37cc..5bc749c 100644 --- a/src/webob/response.py +++ b/src/webob/response.py @@ -1005,7 +1005,7 @@ class Response(object): A string representing the ``SameSite`` attribute of the cookie or ``None``. If samesite is ``None`` no ``SameSite`` value will be sent - in the cookie. Should only be ``b"Strict"`` or ``b"Lax"``. + in the cookie. Should only be ``"Strict"`` or ``"Lax"``. ``comment`` |
