Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jeffrey Finkelstein · committed by Jeffrey Finkelstein · parent fbbe147 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/views.py+1 added-1 removed
10 unmodified lines
11from .globals import request121314http_method_funcs = frozenset(['get', 'post', 'head', 'options',15 'delete', 'put', 'trace'])15 'delete', 'put', 'trace', 'patch'])161718class View(object):19 """Alternative way to use view functions. A subclass has to implement
131 unmodified lines