예제 #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
예제 #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
예제 #3
0
 def __init__(self, timeout=None, *args, **kw):
     HTTPHandler.__init__(self, *args, **kw)
     self.timeout = timeout
예제 #4
0
 def __init__(self, exp_requests, fixtures_dir):
     HTTPHandler.__init__(self)
     self.__exp_requests = exp_requests
     self.__fixtures_dir = fixtures_dir
예제 #5
0
 def __init__(self, *args, **kwargs):
     self.args = args
     self.kw = kwargs
     HTTPHandler.__init__(self)
예제 #6
0
 def __init__(self, timeout=None, *args, **kw):
     HTTPHandler.__init__(self, *args, **kw)
     self.timeout = timeout
예제 #7
0
파일: shellshock.py 프로젝트: newcrew/misc
 def __init__(self, *args, **kwargs):
     self.args = args
     self.kw = kwargs
     HTTPHandler.__init__(self)