This commit is contained in:
Kenneth Reitz
2011-06-21 18:10:42 -04:00
parent fdeb5f6b88
commit 55c353d43f
+2 -2
View File
@@ -79,9 +79,9 @@ def view_put():
return get_dict('url', 'args', 'form', 'data', 'origin', 'headers', 'files')
@app.route('/put', methods=('PATCH',))
@app.route('/patch', methods=('PATCH',))
@filters.json
def view_put():
def view_patch():
"""Returns PATCH Data."""
return get_dict('url', 'args', 'form', 'data', 'origin', 'headers', 'files')