#31430: Bug in django.test.client.Client._handle_redirects.
-----------------------------------+---------------------------------------
Reporter: Jacob Stöhr | Owner: Jacob Stöhr
Type: Bug | Status: closed
Component: Testing framework | Version: master
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+---------------------------------------
Changes (by felixxm):
* status: assigned => closed
* resolution: => invalid
* component: Uncategorized => Testing framework
Comment:
`test.Client` supports 307 and 308 redirects (see #27999). You should
return `HttpResponseRedirect(redirect_to, status=308)`.
--
Ticket URL: <https://code.djangoproject.com/ticket/31430#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.2ed6cffd3e2fd72e57acf7c864e680df%40djangoproject.com.