update
This commit is contained in:
@@ -38,4 +38,10 @@ class BadRequest(HTTPServerException):
|
||||
class MethodNotAllowed(HTTPServerException):
|
||||
""" Method is not allowed """
|
||||
def __init(self, allowed_methods):
|
||||
self.allowed_methods = allowed_methods
|
||||
self.allowed_methods = allowed_methods
|
||||
|
||||
class NotImplemented(HTTPServerException):
|
||||
""" Functionality not implemented """
|
||||
|
||||
class NotFound(HTTPServerException):
|
||||
""" Resource not found """
|
Reference in New Issue
Block a user