示例#1
0
文件: auth.py 项目: aymankh86/pico
 def __init__(self, message=''):
     PicoError.__init__(self, message)
     self.response.status = "401 Not Authorized"
     self.response.set_header("WWW-Authenticate",  "Basic")
示例#2
0
 def __init__(self, message=''):
     PicoError.__init__(self, message)
     self.response.status = "401 Not Authorized"
     self.response.set_header("WWW-Authenticate", "Basic")
示例#3
0
文件: auth.py 项目: aymankh86/pico
 def __init__(self, message=''):
     PicoError.__init__(self, message)
     self.response.status = "440 Invalid Session"
示例#4
0
 def __init__(self, message=''):
     PicoError.__init__(self, message)
     self.response.status = "440 Invalid Session"