def __init__(   self,<EOL>domain,<EOL>user,<EOL>auth,<EOL>use_token=False):
self.__domain = domain<EOL>self.__user = user<EOL>if use_token:<EOL><INDENT>self.__headers = {'<STR_LIT>': '<STR_LIT>'+ auth}<EOL>self.__auth = None<EOL><DEDENT>else:<EOL><INDENT>self.__headers = {}<EOL>self.__auth = HTTPBasicAuth(user, auth)<EOL><DEDENT>self.__durl = '<STR_LIT>'+self.__domain<EOL>self.__user_agent = '<STR_LIT>'.format(VERSION)<EOL>self.__content_type = '<STR_LIT>'<EOL>
Abstract the whitelabel/domain