Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions http/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,6 @@ def three_colors(color):
return '<p>Love is patient and kind. Love is not jealous or boastful or proud or rude.</p>'


# return error response
@app.route('/brew/<drink>')
def teapot(drink):
if drink == 'coffee':
abort(418)
else:
return 'A drop of tea.'


# 404
Expand Down