Exemplo n.º 1
0
 def __init__(self, timeout=None, debuglevel=0):
   """Initialize the object.
   Args:
     timeout: the socket connect timeout value.
     debuglevel: the debuglevel level.
   """
   _H.__init__(self, debuglevel)
   TimeoutHTTPConnection._timeout = timeout
Exemplo n.º 2
0
 def __init__(self, timeout=None, debuglevel=0):
     """Initialize the object.
 Args:
   timeout: the socket connect timeout value.
   debuglevel: the debuglevel level.
 """
     _H.__init__(self, debuglevel)
     TimeoutHTTPConnection._timeout = timeout
Exemplo n.º 3
0
 def __init__(self, timeout=None, *args, **kw):
     HTTPHandler.__init__(self, *args, **kw)
     self.timeout = timeout
Exemplo n.º 4
0
 def __init__(self, exp_requests, fixtures_dir):
     HTTPHandler.__init__(self)
     self.__exp_requests = exp_requests
     self.__fixtures_dir = fixtures_dir
Exemplo n.º 5
0
 def __init__(self, *args, **kwargs):
     self.args = args
     self.kw = kwargs
     HTTPHandler.__init__(self)
Exemplo n.º 6
0
 def __init__(self, timeout=None, *args, **kw):
     HTTPHandler.__init__(self, *args, **kw)
     self.timeout = timeout
Exemplo n.º 7
0
 def __init__(self, *args, **kwargs):
     self.args = args
     self.kw = kwargs
     HTTPHandler.__init__(self)