From 7b3c71193002c5b353ddd5c9d65455c5d10d4601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 29 Dec 2018 17:04:14 +0100 Subject: [PATCH] Web --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a30e2a7..8771374 100644 --- a/README.md +++ b/README.md @@ -1347,14 +1347,14 @@ bottle.run(host='localhost', port=8080) bottle.run(host='0.0.0.0', port=80, server='cherrypy') ``` -### Static request +### Static Request ```python @route('/img/') def send_image(image): return static_file(image, 'images/', mimetype='image/png') ``` -### Dynamic request +### Dynamic Request ```python @route('/') def send_page(sport): @@ -1363,7 +1363,7 @@ def send_page(sport): return template(page) ``` -### REST request +### REST Request ```python @post('/odds/') def odds_handler(sport):