import requests


def http_get(url, req_headers={}):
    """
    Issue an HTTP GET request to the supplied URL, and return the result data.
    """
    response = requests.get(url, headers=req_headers)
    response.raise_for_status()  # raise an error on unsuccessful status codes
    return response.text