--
Ticket URL: <https://code.djangoproject.com/ticket/22963>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* needs_better_patch: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_docs: => 0
Comment:
Hi Marshall,
This is the expected behavior of `follow=True` since the `request`
attribute of the `response` refers to the redirect request which is
performed using `GET` method.
You can test that this is not a `django.test.client.Client.patch`
peculiarity by performing a `POST` and observing the same behavior (given
that your `'/path/'` also performs a redirect for this method).
I'm attaching a test project I used to make sure your report was invalid.
If you need extra help with the test framework I suggest your refer to
wiki:TicketClosingReasons/UseSupportChannels before reporting a ticket.
You should get feedback faster this way.
Simon
--
Ticket URL: <https://code.djangoproject.com/ticket/22963#comment:1>