﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22963	Test client PATCH turns into GET when follow=True	marshall@…	nobody	"I ran into a little problem with the test framework. When following a redirect the PATCH request magically turns into a GET.
{{{
class DjangoTestPatch(TestCase):
    def test_patch_follow_redirect(self):
        response = self.client.patch('/path/')
        self.assertEqual(response.request['REQUEST_METHOD'], 'PATCH') #Works
        response = self.client.patch('/path', follow=True)
        self.assertEqual(response.request['REQUEST_METHOD'], 'PATCH') #Doesn't Work
}}}"	Bug	closed	Testing framework	1.6	Normal	invalid			Unreviewed	0	0	0	0	0	0
