diff options
Diffstat (limited to 'tests/test_client')
| -rw-r--r-- | tests/test_client/views.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_client/views.py b/tests/test_client/views.py index 01850257b5..494844009d 100644 --- a/tests/test_client/views.py +++ b/tests/test_client/views.py @@ -395,8 +395,7 @@ def django_project_redirect(request): def no_trailing_slash_external_redirect(request): """ - RFC 2616 3.2.2: A bare domain without any abs_path element should be - treated as having the trailing `/`. + RFC 3986 Section 6.2.3: Empty path should be normalized to "/". Use https://testserver, rather than an external domain, in order to allow use of follow=True, triggering Client._handle_redirects(). |
