#28337: fetch_redirect_response from assertRedirects doesn't honor HTTP_HOST
setting in self.client.get
-------------------------------------+-------------------------------------
Reporter: Roland van Laar | Owner: Hasan
Type: | Ramezani
Cleanup/optimization | Status: closed
Component: Testing framework | Version: 1.11
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"46e74a525671f2eef09021c06933c45b49f9d421" 46e74a52]:
{{{
#!CommitTicketReference repository=""
revision="46e74a525671f2eef09021c06933c45b49f9d421"
Fixed #28337 -- Preserved extra headers of requests made with
django.test.Client in assertRedirects().
Co-Authored-By: Hasan Ramezani <[email protected]>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28337#comment:7>
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/066.4360c53a6045d10d9f10b02cfef81d4f%40djangoproject.com.