mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 23:00:18 +00:00
damn it
This commit is contained in:
+2
-2
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user