mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 23:00:18 +00:00
Merge pull request #472 from SeverinLeonhardt/delay_more_methods
Support more HTTP methods for /delay
This commit is contained in:
+1
-1
@@ -1112,7 +1112,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