﻿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
21341	Clean way of making https requests with test client	Unai Zalakain	Unai Zalakain	"This is the current way of making an https request with the testing client:


{{{
from django.test import Client

client = Client()
client.get('/', {'wsgi.url_scheme': 'https'})
}}}

This is quite obscure and undocumented, something like ``client.get('/', secure=True)`` would be far cleaner. The way ``django.test.client.Client`` and ``django.test.client.RequestFactory`` are build, we would need to modify each request method in both of them.

"	New feature	closed	Testing framework	dev	Normal	fixed	testing, client, https, secure		Ready for checkin	1	0	0	0	0	0
