Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

3 participants

@jfinkels

PATCH should be supported by Flask, since Werkzeug does. See mitsuhiko/werkzeug#70.

@kennethreitz
Collaborator

Want.

@mitsuhiko mitsuhiko merged commit 476f8d5 into from
@kennethreitz
Collaborator

:sparkles: :cake: :sparkles:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 24, 2012
  1. @jfinkels

    Added PATCH method to the list of HTTP method functions for use in th…

    jfinkels authored
    …e flask.views.MethodView class.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  flask/views.py
View
2  flask/views.py
@@ -12,7 +12,7 @@
http_method_funcs = frozenset(['get', 'post', 'head', 'options',
- 'delete', 'put', 'trace'])
+ 'delete', 'put', 'trace', 'patch'])
class View(object):
Something went wrong with that request. Please try again.