30e6a310f1
* This commit adds handlers for the asyncio/uvloop protocol callbacks for pause_writing and resume_writing. These are needed for the correct functioning of built-in tcp flow-control provided by uvloop and asyncio. This is somewhat of a breaking change, because the `write` function in user streaming callbacks now must be `await`ed. This is necessary because it is possible now that the http protocol may be paused, and any calls to write may need to wait on an async event to be called to become unpaused. Updated examples and tests to reflect this change. This change does not apply to websocket connections. A change to websocket connections may be required to match this change. * Fix a couple of PEP8 errors caused by previous rebase. * update docs add await syntax to response.write in response-streaming docs. * remove commented out code from a test file |
||
---|---|---|
.. | ||
api_reference.rst | ||
blueprints.md | ||
class_based_views.md | ||
config.md | ||
contributing.md | ||
cookies.rst | ||
custom_protocol.md | ||
debug_mode.rst | ||
decorators.md | ||
deploying.md | ||
exceptions.md | ||
extensions.md | ||
getting_started.md | ||
index.rst | ||
logging.md | ||
middleware.md | ||
request_data.md | ||
response.md | ||
routing.md | ||
ssl.rst | ||
static_files.md | ||
streaming.md | ||
testing.md | ||
versioning.md | ||
websocket.rst |