falconry / falcon

The no-magic web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.
https://falcon.readthedocs.io/en/stable/
Apache License 2.0
9.51k stars 937 forks source link

Improve `TestClient` to automatically add `raw_path` to ASGI scope #2262

Open vytas7 opened 1 month ago

vytas7 commented 1 month ago

Thanks to @liborjelinek, the WSGI flavour of the framework does this out of the box as per #2159. To make things consistent, we ought to add raw_path to ASGI scope.