':return: Is the insecure response redirecting to an HTTPS resource?'

def _redirects_to_secure(self, insecure_response, secure_response):

    if insecure_response.was_redirected():
        redirect_target = insecure_response.get_redir_url()
        if (redirect_target.get_protocol() == 'https'):
            return True
    return False
