Streaming Requests, File streams, Gunicorn Worker Recycling etc.
To see the exhaustive list of pull requests included in this release see:
https://github.com/channelcat/sanic/milestone/10?closed=1
Highlights
- Fix error where transport.get_extra_info returned
None
#717 - Remove uvloop requirement for gunicorn worker #719
- Fix error where
request.token()
would fail ifAuthorization
headers were not provided #731 - Added an abort function to easily exit out of route handlers #740
- Added a file_stream response handler #733
- Add support for streaming large static files #734
- Added streaming requests #697
- Added websocket max_size and max_queue configuration #748
- Fixed test client not working with HTTP2 #809
- Added match_info property to request class #802
- Added support for recycling the gunicorn worker #800
- Added an Unauthorized exception #813
- Added a Forbidden exception #814
- Added a graceful timeout when shutdown #815