cleaning up
This commit is contained in:
parent
eca98a54eb
commit
d55e453bd5
|
@ -156,8 +156,6 @@ class MethodNotSupported(SanicException):
|
|||
super().__init__(message)
|
||||
self.headers = dict()
|
||||
self.headers["Allow"] = ", ".join(allowed_methods)
|
||||
# if method in ['HEAD', 'PATCH', 'PUT', 'DELETE']:
|
||||
# self.headers['Content-Length'] = 0
|
||||
|
||||
|
||||
@add_status_code(500)
|
||||
|
|
Loading…
Reference in New Issue
Block a user