The delete endpoint now returns JSON

This commit is contained in:
Kyle Conroy
2011-10-29 11:17:03 -07:00
parent 98fb35d7e8
commit b25e073b46
+1 -1
View File
@@ -106,7 +106,7 @@ def view_patch():
def view_delete():
"""Returns DETLETE Data."""
return get_dict('url', 'args', 'data', 'origin', 'headers')
return jsonify(get_dict('url', 'args', 'data', 'origin', 'headers'))
@app.route('/gzip')