def get_requirement_redirect(self, request, default=None):
		redirect = request.session.pop('requirement_redirect', None)
		# Security checks a la django.contrib.auth.views.login
		if not redirect or ' ' in redirect:
			redirect = default
		else:
			netloc = urlparse.urlparse(redirect)[1]
			if netloc and netloc != request.get_host():
				redirect = default
		if redirect is None:
			redirect = request.node.get_absolute_url()
		return redirect
Helper function to create an HTTPConnection object. If ssl is set True,
dataset/ETHPy150Open ithinksw/philo/philo/contrib/waldo/models.py/LoginMultiView.get_requirement_redirect--crossover with--dataset/ETHPy150Open openstack/swift/swift/common/bufferedhttp.py/http_connect_raw