def __init__(self): ''' Constructor. It delegates construction to the base class L{HttxObject} and initializes the member variables ''' HttxObject.__init__(self) self.cookiejar = CookieJar()
def __init__(self): ''' Constructor. It delegates construction to the base class L{HttxObject} and initializes the member variables ''' HttxObject.__init__(self) self.passmanager = HTTPPasswordMgrWithDefaultRealm()
def __init__(self): ''' Constructor. It delegates construction to the base class L{HttxObject} and initializes the member variables ''' HttxObject.__init__(self) self.cache = dict() self.noncecache = defaultdict(int)
def __init__(self, *args): ''' Constructor. It delegates construction to the base class L{HttxObject} and initializes the member variables @param args: iterable of allowed compression values @type args: list|tuple ''' HttxObject.__init__(self) self.compressionset = set(args)
def __init__(self, **kwargs): ''' Contructor @param kwargs: keyword arguments for L{HttxOptions} @see: L{HttxOptions} ''' HttxObject.__init__(self) self.options = kwargs.get('options', HttxOptions()) self.options.update(**kwargs)
def __init__(self): ''' Constructor. It delegates construction to the base class L{HttxObject} ''' HttxObject.__init__(self)