mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 14:50:17 +00:00
Support more HTTP methods for /delay
This commit is contained in:
+1
-1
@@ -1072,7 +1072,7 @@ def digest_auth(qop=None, user='user', passwd='passwd', algorithm='MD5', stale_a
|
||||
return response
|
||||
|
||||
|
||||
@app.route('/delay/<delay>')
|
||||
@app.route('/delay/<delay>', methods=['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'TRACE'])
|
||||
def delay_response(delay):
|
||||
""""Returns a delayed response (max of 10 seconds).
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user