fix that it can set the responce cookie correctly for newer werkzeug version
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -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.',
|
||||||
|
|||||||
Reference in New Issue
Block a user