def parse_response_url_to_parameters(response):
    """Parse response url to parameter pair strings "name=value"."""
    url_parts = response.url.split('?')

    if len(url_parts) < 2:
        return url_parts[0], []

    query_string = url_parts[1] if len(url_parts) > 1 else ''
    parameters = query_string.split('&') if query_string else []
    return url_parts[0], parameters