import requests


def get_response(url):
    """Return the response from the URL, raising exception on error status."""
    response = requests.get(url)
    response.raise_for_status()
    return response