From bcdd09c768b600c145ec706d1fc63d01e79e6eb6 Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Wed, 3 Oct 2018 19:11:58 +0200 Subject: [PATCH] added /malformed-response.html route --- bin/srv.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/srv.py b/bin/srv.py index 3edfb5a..0291472 100644 --- a/bin/srv.py +++ b/bin/srv.py @@ -225,6 +225,10 @@ def send_static(path): def send_favicon(): return send_from_directory(STATIC, 'favicon.ico') +@app.route('/malformed-response.html') +def send_malformed(): + return send_from_directory(STATIC, 'malformed-response.html') + @app.route("/") @app.route("/") def wttr(location = None):