﻿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
3499	"Add a ""redirect_to"" attribute (similar to status_code) to HttpResponseRedirect  and HttpResponsePermanentRedirect to help with testing"	egmanoj@…	nobody	"Consider this test:

{{{
response = self.client.post(url, params)

self.failUnlessEqual(response.status_code, 302)
self.failUnlessEqual(response.headers['Location'], some_other_url)
}}}

It would be easier to do the following instead, treating redirect_to as an attribute.

{{{
self.failUnlessEqual(response.redirect_to, some_other_url)
}}}
"		closed	Core (Other)	dev		wontfix	HttpResponseRedirect , redirect_to	egmanoj@…	Accepted	1	0	0	0	0	0
