Test client doesn't pass **extra to _handle_redirects
|Reported by:||David Novakovic||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Hey. This problem occurs when using the test client in follow=True mode.
When accessing a view that does a redirect, the extra param in Client.get and friends is not passed to _handle_redirects.
To reproduce simply hit a view that does a redirect like this:
client.get('/dashboard/', follow=True, HTTP_HOST="localhost")
In this case the HTTP_HOST param does not make it through to the _handle_redirects call.