Skip to content

Commit 476f8d5

Browse files
committed
Merge pull request pallets#390 from jfinkels/patch-1
Added PATCH method to the list of HTTP method functions for MethodView
2 parents fbbe147 + c5ebf9a commit 476f8d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
http_method_funcs = frozenset(['get', 'post', 'head', 'options',
15-
'delete', 'put', 'trace'])
15+
'delete', 'put', 'trace', 'patch'])
1616

1717

1818
class View(object):

0 commit comments

Comments
 (0)