Skip to content
Myr

Merge pull request #390 from jfinkels/patch-1

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

Added PATCH method to the list of HTTP method functions for MethodView

authored by Armin Ronacher · committed by Armin Ronacher · parents fbbe147, c5ebf9a · 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