File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 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>
4343from __future__ import annotations
4444
4545SUPPORTED_CDI_VERSIONS = ["5.2"]
46- VERSION = "0.29.1 "
46+ VERSION = "0.29.2 "
4747TELEMETRY = "/telemetry"
4848USER_COUNT = "/users/count"
4949USER_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
7979 key=key,
8080 value=value,
8181 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"
8385 ),
8486 path=path,
8587 domain=domain,
@@ -177,7 +179,9 @@ <h2 class="section-title" id="header-classes">Classes</h2>
177179 key=key,
178180 value=value,
179181 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"
181185 ),
182186 path=path,
183187 domain=domain,
You can’t perform that action at this time.
0 commit comments