Added PATCH method to the list of HTTP method functions for use in the flask.views.MethodView class.
This commit is contained in:
parent
fbbe14791f
commit
c5ebf9a97d
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ from .globals import request
|
||||||
|
|
||||||
|
|
||||||
http_method_funcs = frozenset(['get', 'post', 'head', 'options',
|
http_method_funcs = frozenset(['get', 'post', 'head', 'options',
|
||||||
'delete', 'put', 'trace'])
|
'delete', 'put', 'trace', 'patch'])
|
||||||
|
|
||||||
|
|
||||||
class View(object):
|
class View(object):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue