(self)
Load configuration common to the implementations
Load configuration common to the implementations
Load configuration common to the implementations
def __init__(self):
        """Load configuration common to the implementations"""
        self.timeout = Config.conf['timeout']
        self.ctimeout = Config.conf['ctimeout']
        self.download_timeout = Config.conf['download_timeout']
        self.agent = Config.conf['http_agent']
        self.http_proxy = Config.conf['http_proxy']
        self.cache_support = False
        self.insecure = Config.conf['http_insecure']
        self._curl_exec = Config.conf['use_curl_executable']
        self._select_implementation()
def __init__ ( self ) : self . timeout = Config . conf [ 'timeout' ] self . ctimeout = Config . conf [ 'ctimeout' ] self . download_timeout = Config . conf [ 'download_timeout' ] self . agent = Config . conf [ 'http_agent' ] self . http_proxy = Config . conf [ 'http_proxy' ] self . cache_support = False self . insecure = Config . conf [ 'http_insecure' ] self . _curl_exec = Config . conf [ 'use_curl_executable' ] self . _select_implementation ( )