Skip to content

Commit

Permalink
Merge pull request #472 from SeverinLeonhardt/delay_more_methods
Browse files Browse the repository at this point in the history
Support more HTTP methods for /delay
  • Loading branch information
kennethreitz authored Jul 4, 2018
2 parents 27b604c + 4a5e87e commit 36a3df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httpbin/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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).
---
Expand Down

0 comments on commit 36a3df2

Please sign in to comment.