mirror of
https://github.com/django/django.git
synced 2025-11-22 20:16:24 +00:00
Following the ASGI HTTP Connection Scope docs[0], the provided `path` is already the correct value that Django requires. In combination with `root_path`, from which `script_name` is derived, the `path_info` variable is set. It's then redundant to re-calculate `path` from `script_name` and `path_info`. See also, a clarifying discussion on the ASGIref repo[1]. [0]: https://asgi.readthedocs.io/en/latest/specs/www.html#http-connection-scope [1]: https://github.com/django/asgiref/issues/424 |
||
|---|---|---|
| .. | ||
| templates | ||
| __init__.py | ||
| test_exception.py | ||
| tests.py | ||
| tests_custom_error_handlers.py | ||
| urls.py | ||
| views.py | ||