-
-
Notifications
You must be signed in to change notification settings - Fork 748
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Update
root_path
handling (from --root-path
CLI option) to inc…
…lude the root path prefix in the full ASGI `path` as per the ASGI spec (#2213) * ♻️ Update root-path handling to include it in the full path as per the ASGI spe, related to Starlette 0.35.0 * ✅ Update tests for root_path, ensure it's added to the prefix of the path in the ASGI scope * ♻️ Update the (deprecated) WSGIMiddleware to follow closely the ASGI spec * ✅ Update tests for WSGIMiddleware * 🎨 Fix format in tests * Update tests/protocols/test_http.py Co-authored-by: Marcelo Trylesinski <[email protected]> * Update uvicorn/protocols/http/httptools_impl.py Co-authored-by: Marcelo Trylesinski <[email protected]> --------- Co-authored-by: Marcelo Trylesinski <[email protected]>
- Loading branch information
Showing
7 changed files
with
37 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters