fix that it can set the responce cookie correctly for newer werkzeug version

This commit is contained in:
2025-09-18 18:16:18 +02:00
parent 249a7abd89
commit b3105423f8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ class SessionInterface(QuartSessionInterface):
session_id = self._get_signer(app).sign(want_bytes(session.sid)) session_id = self._get_signer(app).sign(want_bytes(session.sid))
else: else:
session_id = session.sid session_id = session.sid
response.set_cookie(cname, session_id, response.set_cookie(cname, session_id.decode('utf-8'),
expires=expires, httponly=httponly, expires=expires, httponly=httponly,
domain=domain, path=path, secure=secure, samesite=samesite) domain=domain, path=path, secure=secure, samesite=samesite)
+1 -1
View File
@@ -24,7 +24,7 @@ INSTALL_REQUIRES = [
setup( setup(
name='Quart-Session', name='Quart-Session',
version='3.0.0', version='3.0.1',
url='https://github.com/kroketio/quart-session', url='https://github.com/kroketio/quart-session',
license='BSD', license='BSD',
author='Kroket Ltd.', author='Kroket Ltd.',