﻿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
12227	PREPEND_WWW breaks the test client	Andy Baker	Anurag Verma	"With PREPEND_WWW set to true the test client will always give a 301 status_code:


{{{
    >>> from django.test.client import Client
    >>> c = Client()
    >>> r = c.get('/admin/', follow=True)
    >>> r.status_code
    301
    >>> r.redirect_chain
    [('http://www.testserver/admin/', 301), ('http://www.testserver/admin/', 301)]
}}}

"	Bug	assigned	Testing framework	1.1	Normal		test client, redirect, prepend_www	andy@…	Accepted	1	0	0	1	0	0
