Please sign in to comment.
Fixed mutliple set-cookie header issue with session. (closes #45)
The Session class was extended from ThreadedDict, which is extended from threading.local. It looks like __init__ is called once for each thread for thread local objects. That made session to add multiple processors to the application, one for each thread/request. Fixed this issue by keeping the threadeddict as an attribute instead of extending from it.
- Loading branch information...