def get_headers(response):
    """Access the headers from an HTTP response.

    Args:
        response (object): The HTTP response object.

    Returns:
        Mapping[str, str]: The header mapping (expect keys to either be
        all lowercase, or case-insensitive).
    """
    return response.headers