-
-
Notifications
You must be signed in to change notification settings - Fork 898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
♻️ Refactor logic to handle root_path
to keep compatibility with ASGI and compatibility with other non-Starlette-specific libraries like a2wsgi
#2400
Commits on Jan 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f76cd32 - Browse repository at this point
Copy the full SHA f76cd32View commit details -
♻️ Refactor extracting the local route_path from the scope, and creat…
…ing the child scope with its own root_pat, this allows sub-apps (e.g. WSGIMiddleware) to know where it was mounted, and from which path prefix starts the path its sub-app should handle
Configuration menu - View commit details
-
Copy full SHA for dd5c99f - Browse repository at this point
Copy the full SHA dd5c99fView commit details -
♻️ Refactor datastructures and request to be conformant with the ASGI…
… spec, respecting root_path
Configuration menu - View commit details
-
Copy full SHA for 65fb7a9 - Browse repository at this point
Copy the full SHA 65fb7a9View commit details -
✅ Add and update tests for root_path with mounted apps that don't kno…
…w about Starlette internals (e.g. the route_root_path extension scope key that was added in
Configuration menu - View commit details
-
Copy full SHA for e7f0646 - Browse repository at this point
Copy the full SHA e7f0646View commit details -
✅ Update test for root_path, TestClient was not requiring paths under…
… a root_path to pass the root_path, which is what clients would have to do if the app is mounted.
Configuration menu - View commit details
-
Copy full SHA for 5a696d8 - Browse repository at this point
Copy the full SHA 5a696d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a438de - Browse repository at this point
Copy the full SHA 3a438deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7336191 - Browse repository at this point
Copy the full SHA 7336191View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c0ca97 - Browse repository at this point
Copy the full SHA 2c0ca97View commit details
Commits on Jan 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a6267c9 - Browse repository at this point
Copy the full SHA a6267c9View commit details -
✨ Update (deprecated) WSGIMiddleware to be compatible with the update…
…d root_path, taking pieces from a2wsgi
Configuration menu - View commit details
-
Copy full SHA for 0d6753f - Browse repository at this point
Copy the full SHA 0d6753fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d37c87 - Browse repository at this point
Copy the full SHA 0d37c87View commit details -
Configuration menu - View commit details
-
Copy full SHA for a010c33 - Browse repository at this point
Copy the full SHA a010c33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7be8c7a - Browse repository at this point
Copy the full SHA 7be8c7aView commit details
Commits on Jan 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7f893a9 - Browse repository at this point
Copy the full SHA 7f893a9View commit details