import requests


def get_session(username, password):
    """
    Returns a request session for the SANtricity RestAPI Webserver
    """
    request_session = requests.Session()
    # Default credentials
    request_session.auth = (username, password)
    request_session.headers = {'Accept': 'application/json', 'Content-Type': 'application/json'}
    # Ignore the self-signed certificate issues for https
    request_session.verify = False
    return request_session