Exemple #1
0
 def __init__(self, host, cert, reason):
     self.host = host
     self.cert = cert
     self.reason = reason.rstrip()
     message = ('Host %s returned an invalid certificate (%s) %s' %
                (self.host, self.reason, self.cert)).rstrip()
     HTTPException.__init__(self, message)
 def __init__(self, host, cert, reason):
     self.host = host
     self.cert = cert
     self.reason = reason.rstrip()
     message = ('Host %s returned an invalid certificate (%s) %s' %
         (self.host, self.reason, self.cert)).rstrip()
     HTTPException.__init__(self, message)
Exemple #3
0
 def __init__(self, *args, **kwargs):
     HTTPException.__init__(self, *args, **kwargs)
     Loggable.__init__(self, self.__class__, args[0])
Exemple #4
0
 def __init__(self):
     HTTPException.__init__(self, 408, "Timeout")
     self.strerror = "Timeout"
Exemple #5
0
 def __init__(self, *args, **kwargs):
     HTTPException.__init__(self, *args, **kwargs)
     Loggable.__init__(self, self.__class__, args[0])
 def __init__(self, host, limit):
     HTTPException.__init__(self)
     self.host = host
     self.limit = limit
Exemple #7
0
 def __init__(self, host, cert, reason):
     HTTPException.__init__(self)
     self.host = host
     self.cert = cert
     self.reason = reason.rstrip()
 def __init__(self, host, cert, reason):
     HTTPException.__init__(self)
     self.host = host
     self.cert = cert
     self.reason = reason.rstrip()
 def __init__(self, host, limit):
     HTTPException.__init__(self)
     self.host = host
     self.limit = limit