mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #31494 -- Added test for query strings for GET/HEAD requests when following HTTP 307/308 redirects in test client.
This commit is contained in:
parent
9d55ae00d3
commit
6425fd3124
3 changed files with 30 additions and 0 deletions
|
@ -14,7 +14,15 @@ urlpatterns = [
|
|||
path('raw_post_view/', views.raw_post_view),
|
||||
path('redirect_view/', views.redirect_view),
|
||||
path('redirect_view_307/', views.method_saving_307_redirect_view),
|
||||
path(
|
||||
'redirect_view_307_query_string/',
|
||||
views.method_saving_307_redirect_query_string_view,
|
||||
),
|
||||
path('redirect_view_308/', views.method_saving_308_redirect_view),
|
||||
path(
|
||||
'redirect_view_308_query_string/',
|
||||
views.method_saving_308_redirect_query_string_view,
|
||||
),
|
||||
path('secure_view/', views.view_with_secure),
|
||||
path('permanent_redirect_view/', RedirectView.as_view(url='/get_view/', permanent=True)),
|
||||
path('temporary_redirect_view/', RedirectView.as_view(url='/get_view/', permanent=False)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue