Browse Source

Merge pull request #390 from jfinkels/patch-1

Added PATCH method to the list of HTTP method functions for MethodView
pull/392/head
Armin Ronacher 13 years ago
parent
commit
476f8d57a2
  1. 2
      flask/views.py

2
flask/views.py

@ -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…
Cancel
Save