mangum
mangum copied to clipboard
Add support for lifespan state
Closes #323
The lifespan state is created in lifespan cycle, and a shallow copy is passed in http cycle. Also added test to confirm the functionality.
Note that a sub-dependency Hypercorn
need to be pinned to support testing on python 3.7.