-
-
Notifications
You must be signed in to change notification settings - Fork 90
Open
alex-eri/aiohttp-session
#1Description
What reason for this line here?
| data = data.decode('utf-8') |
I want to store some bytes in session. Changed encoder setup_session(app, RedisStorage(redis_pool, encoder=pickle.dumps, decoder=pickle.loads)). And I have error on getting session:
data = data.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte
It also breakes msgpack
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels