Closed idoshr closed 5 months ago
Hi @idoshr thanks for the great PR. I have merged along with #179 and other suggestions to development branch for now, while we get feedback on that. If you are able to take a look at it that would be very appreciated.
I opted for Pytest over your testing implementation, but your mocking of different redis versions might be useful. How would that potentially look in the Pytest version of #179?
Also, I noticed there is the vary header set in flask. I cannot see any reason why we should not also be doing that to prevent accidental caching? @ThiefMaster and @darless, would you have any input here?
Add should_set_cookie for preventing save again session without any change **this is the way flask implement save_session()![image](https://github.com/pallets-eco/flask-session/assets/35264146/63e7c280-05ec-4e9c-8eee-10c4c457d1be)
remove duplicate code
fix testers