コード例 #1
0
 def __init__(self):
     '''
     Constructor. It delegates construction to the base class
     L{HttxObject} and initializes the member variables
     '''
     HttxObject.__init__(self)
     self.cookiejar = CookieJar()
コード例 #2
0
ファイル: httxcookiejar.py プロジェクト: cfredericks/python
 def __init__(self):
     '''
     Constructor. It delegates construction to the base class
     L{HttxObject} and initializes the member variables
     '''
     HttxObject.__init__(self)
     self.cookiejar = CookieJar()
コード例 #3
0
ファイル: httxpassmanager.py プロジェクト: mementum/bfrelay
    def __init__(self):
        '''
        Constructor. It delegates construction to the base class
        L{HttxObject} and initializes the member variables
        '''
        HttxObject.__init__(self)

        self.passmanager = HTTPPasswordMgrWithDefaultRealm()
コード例 #4
0
ファイル: httxauthcache.py プロジェクト: cfredericks/python
 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)
コード例 #5
0
ファイル: httxauthcache.py プロジェクト: mementum/bfrelay
 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)
コード例 #6
0
ファイル: httxpassmanager.py プロジェクト: mementum/bfrelay
    def __init__(self):
        '''
        Constructor. It delegates construction to the base class
        L{HttxObject} and initializes the member variables
        '''
        HttxObject.__init__(self)

        self.passmanager = HTTPPasswordMgrWithDefaultRealm()
コード例 #7
0
    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)
コード例 #8
0
    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)
コード例 #9
0
    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)
コード例 #10
0
    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)
コード例 #11
0
ファイル: httxoptions.py プロジェクト: cfredericks/python
 def __init__(self):
     '''
     Constructor. It delegates construction to the base class
     L{HttxObject}
     '''
     HttxObject.__init__(self)
コード例 #12
0
 def __init__(self):
     '''
     Constructor. It delegates construction to the base class
     L{HttxObject}
     '''
     HttxObject.__init__(self)