mirror of
https://github.com/kennethreitz/httpbin.git
synced 2026-06-05 23:00:18 +00:00
+1
-1
@@ -275,7 +275,7 @@ def digest_auth(qop=None, user='user', passwd='passwd'):
|
||||
@app.route('/delay/<int:delay>')
|
||||
def delay_response(delay):
|
||||
"""Returns a delayed response"""
|
||||
delay = min(delay, 30)
|
||||
delay = min(delay, 10)
|
||||
time.sleep(delay)
|
||||
|
||||
return jsonify(get_dict(
|
||||
|
||||
Reference in New Issue
Block a user