Document access to WSGI and ASGI attributes (Fixes #153)
This commit is contained in:
@@ -486,6 +486,9 @@ web application using the Gunicorn web server::
|
|||||||
|
|
||||||
gunicorn test:app
|
gunicorn test:app
|
||||||
|
|
||||||
|
When using this WSGI adapter, the ``environ`` dictionary provided by the web
|
||||||
|
server is available to request handlers as ``request.environ``.
|
||||||
|
|
||||||
Using an ASGI Web Server
|
Using an ASGI Web Server
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
@@ -529,3 +532,5 @@ web application using the Uvicorn web server::
|
|||||||
|
|
||||||
uvicorn test:app
|
uvicorn test:app
|
||||||
|
|
||||||
|
When using this ASGI adapter, the ``scope`` dictionary provided by the web
|
||||||
|
server is available to request handlers as ``request.asgi_scope``.
|
||||||
|
|||||||
Reference in New Issue
Block a user