コード例 #1
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[http.PRECONDITION_FAILED]):
     ErrorPage.__init__(self, http.PRECONDITION_FAILED,
                        http.RESPONSES[http.PRECONDITION_FAILED], message)
コード例 #2
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[http.UNAUTHORIZED]):
     ErrorPage.__init__(self, http.UNAUTHORIZED,
                        http.RESPONSES[http.UNAUTHORIZED], message)
コード例 #3
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[http.NOT_ALLOWED]):
     ErrorPage.__init__(self, http.NOT_ALLOWED,
                        http.RESPONSES[http.NOT_ALLOWED], message)
コード例 #4
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[http.NOT_IMPLEMENTED]):
     ErrorPage.__init__(self, http.NOT_IMPLEMENTED,
                        http.RESPONSES[http.NOT_IMPLEMENTED], message)
コード例 #5
0
 def __init__(self, status, brief, detail, errorClassName):
     self.errorClassName = errorClassName
     TwistedErrorPage.__init__(self, status, brief, detail)
コード例 #6
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[http.UNSUPPORTED_MEDIA_TYPE]):
     ErrorPage.__init__(self, http.UNSUPPORTED_MEDIA_TYPE,
                        http.RESPONSES[http.UNSUPPORTED_MEDIA_TYPE], message)
コード例 #7
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[FAILED_DEPENDENCY]):
     ErrorPage.__init__(self, FAILED_DEPENDENCY,
                        http.RESPONSES[FAILED_DEPENDENCY], message)
コード例 #8
0
ファイル: resource.py プロジェクト: fluidinfo/fluiddb
 def __init__(self, status, brief, detail, errorClassName):
     self.errorClassName = errorClassName
     TwistedErrorPage.__init__(self, status, brief, detail)
コード例 #9
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[http.CREATED]):
     ErrorPage.__init__(self, http.CREATED,
                        http.RESPONSES[http.CREATED], message)
コード例 #10
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[http._CONTINUE]):
     ErrorPage.__init__(self, http._CONTINUE,
                        http.RESPONSES[http._CONTINUE], message)
コード例 #11
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[http.CONFLICT]):
     ErrorPage.__init__(self, http.CONFLICT,
                        http.RESPONSES[http.CONFLICT], message)
コード例 #12
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[http.BAD_REQUEST]):
     ErrorPage.__init__(self, http.BAD_REQUEST,
                        http.RESPONSES[http.BAD_REQUEST], message)
コード例 #13
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[http.BAD_GATEWAY]):
     ErrorPage.__init__(self, http.BAD_GATEWAY,
                        http.RESPONSES[http.BAD_GATEWAY], message)
コード例 #14
0
ファイル: server.py プロジェクト: jrydberg/distfs
 def __init__(self, message="Sorry, that resource already exists."):
     ErrorPage.__init__(self, http.CONFLICT, "Conflict", message)
コード例 #15
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[http.INTERNAL_SERVER_ERROR]):
     ErrorPage.__init__(self, http.INTERNAL_SERVER_ERROR,
                        http.RESPONSES[http.INTERNAL_SERVER_ERROR], message)
コード例 #16
0
ファイル: server.py プロジェクト: unoffices/distfs
 def __init__(self, message="Sorry, that resource already exists."):
     ErrorPage.__init__(self, http.CONFLICT, "Conflict", message)
コード例 #17
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[LOCKED]):
     ErrorPage.__init__(self, LOCKED,
                        http.RESPONSES[LOCKED], message)
コード例 #18
0
ファイル: resource.py プロジェクト: fluidinfo/fluiddb
 def __init__(self, message='Sorry, we could not find that resource.'):
     TwistedErrorPage.__init__(self, http.NOT_FOUND,
                               'No Such Resource', message)
コード例 #19
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[http.NO_CONTENT]):
     ErrorPage.__init__(self, http.NO_CONTENT,
                        http.RESPONSES[http.NO_CONTENT], message)
コード例 #20
0
 def __init__(self, message='Sorry, we could not find that resource.'):
     TwistedErrorPage.__init__(self, http.NOT_FOUND, 'No Such Resource',
                               message)
コード例 #21
0
ファイル: daverror.py プロジェクト: steder/AkaDAV
 def __init__(self, message=http.RESPONSES[UNPROCESSIBLE_ENTITY]):
     ErrorPage.__init__(self, UNPROCESSIBLE_ENTITY,
                        http.RESPONSES[UNPROCESSIBLE_ENTITY], message)