def __init__(self, params, status_message="OK"):
     AbstractResponse.__init__(self, 200, params, status_message)
Exemple #2
0
 def __init__(self, params, status_message="SYNTAX ERROR"):
     AbstractResponse.__init__(self, 400, params, status_message)
 def __init__(self, params, status_message="OUTOFBOUND"):
     AbstractResponse.__init__(self, 550, params, status_message)
 def __init__(self, params, status_message = "OPERATING"):
     AbstractResponse.__init__(self, 100, params, status_message)
 def __init__(self, params, status_message="INTERNAL SERVER ERROR"):
     AbstractResponse.__init__(self, 500, params, status_message)
Exemple #6
0
 def __init__(self, params, status_message="SEMANTIC ERROR"):
     AbstractResponse.__init__(self, 410, params, status_message)