File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ <h1 class="title">Module <code>supertokens_python.constants</code></h1>
43
43
from __future__ import annotations
44
44
45
45
SUPPORTED_CDI_VERSIONS = ["5.2"]
46
- VERSION = "0.29.1 "
46
+ VERSION = "0.29.2 "
47
47
TELEMETRY = "/telemetry"
48
48
USER_COUNT = "/users/count"
49
49
USER_DELETE = "/user/remove"
Original file line number Diff line number Diff line change @@ -79,7 +79,9 @@ <h1 class="title">Module <code>supertokens_python.framework.django.django_respon
79
79
key=key,
80
80
value=value,
81
81
expires=datetime.fromtimestamp(ceil(expires / 1000)).strftime(
82
- "%a, %d %b %Y %H:%M:%S UTC"
82
+ # NOTE: This should always be GMT. HTTP only supports GMT in cookies.
83
+ # If this is not respected, the cookie is always treated as a session cookie.
84
+ "%a, %d %b %Y %H:%M:%S GMT"
83
85
),
84
86
path=path,
85
87
domain=domain,
@@ -177,7 +179,9 @@ <h2 class="section-title" id="header-classes">Classes</h2>
177
179
key=key,
178
180
value=value,
179
181
expires=datetime.fromtimestamp(ceil(expires / 1000)).strftime(
180
- "%a, %d %b %Y %H:%M:%S UTC"
182
+ # NOTE: This should always be GMT. HTTP only supports GMT in cookies.
183
+ # If this is not respected, the cookie is always treated as a session cookie.
184
+ "%a, %d %b %Y %H:%M:%S GMT"
181
185
),
182
186
path=path,
183
187
domain=domain,
You can’t perform that action at this time.
0 commit comments