Document interaction of BaseHTTPMiddleware and contextvars (#1525)
Document interaction of BaseHTTPMiddleware and contextvars (#1525)

* test: document behavior of ContextVars with BaseHTTPMiddleware

* lint & fix

* add pragma

* Update test_base.py

* Update tests/middleware/test_base.py

Co-authored-by: Marcelo Trylesinski <5c86bce04fb7a3515a6d5a7f8f4be0d0fd9bf2f8@gmail.com>

* fix typo

* try to make comment clearer

Co-authored-by: Marcelo Trylesinski <5c86bce04fb7a3515a6d5a7f8f4be0d0fd9bf2f8@gmail.com>
encode/starlette,encode/starlette