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