Browse Source

Added PATCH method to the list of HTTP method functions for use in the flask.views.MethodView class.

pull/390/head
Jeffrey Finkelstein 13 years ago
parent
commit
c5ebf9a97d
  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