def get(conn, uri, access_token=None):
    """
    HTTP GET request with an optional authorization header with the access_token
    """
    if access_token:
        headers = {'authorization': '%s %s' % (access_token['token_type'], access_token['access_token'])}
    else:
        headers = {}
    conn.request('GET', uri, headers=headers)
    response = conn.getresponse()
    return response.read()