@staticmethod
def query_for_content(query_url: str) -> str:
    'Retrieve the ip address from the "current" location.\n\n        By default it will query for an ip (v4/v6) address,\n        but may be used for other data as well\n\n        :param query_url: url which produces the exact data\n                             to be used as content\n        :type query_url: str\n        :raises RequestsRaisedException: raised for connection errors with the server\n        :raises Non200Response: raised when server does not respond "OK" (200)\n        :return: the resolved ip address, or whatever may be\n                 returned by a custom provided url\n        :rtype: str\n        '
    my_ip = None
    try:
        ip_query = requests.get(query_url)
    except Exception as e:
        raise RequestsRaisedException('Error in request for Internet ip address; ') from e
    if (ip_query.status_code == 200):
        my_ip = ip_query.text.strip()
    else:
        raise Non200Response(f'Could not resolve Internet ip address (non 200 response); {ip_query.status_code}: {ip_query.reason}')
    return my_ip
Retrieve the ip address from the "current" location.

By default it will query for an ip (v4/v6) address,
but may be used for other data as well

:param query_url: url which produces the exact data
                     to be used as content
:type query_url: str
:raises RequestsRaisedException: raised for connection errors with the server
:raises Non200Response: raised when server does not respond "OK" (200)
:return: the resolved ip address, or whatever may be
         returned by a custom provided url
:rtype: str
@staticmethod
def query_for_content(query_url: str) -> str:
    'Retrieve the ip address from the "current" location.\n\n        By default it will query for an ip (v4/v6) address,\n        but may be used for other data as well\n\n        :param query_url: url which produces the exact data\n                             to be used as content\n        :type query_url: str\n        :raises RequestsRaisedException: raised for connection errors with the server\n        :raises Non200Response: raised when server does not respond "OK" (200)\n        :return: the resolved ip address, or whatever may be\n                 returned by a custom provided url\n        :rtype: str\n        '
    my_ip = None
    try:
        ip_query = requests.get(query_url)
    except Exception as e:
        raise RequestsRaisedException('Error in request for Internet ip address; ') from e
    if (ip_query.status_code == 200):
        my_ip = ip_query.text.strip()
    else:
        raise Non200Response(f'Could not resolve Internet ip address (non 200 response); {ip_query.status_code}: {ip_query.reason}')
    return my_ip