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

This commit is contained in:
Jeffrey Finkelstein 2012-01-24 16:48:04 -05:00
parent fbbe14791f
commit c5ebf9a97d

View file

@ -12,7 +12,7 @@ from .globals import request
http_method_funcs = frozenset(['get', 'post', 'head', 'options',
'delete', 'put', 'trace'])
'delete', 'put', 'trace', 'patch'])
class View(object):