aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/acit/web.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/acit/web.py b/src/acit/web.py
index ae45679..15cbe46 100644
--- a/src/acit/web.py
+++ b/src/acit/web.py
@@ -7,7 +7,12 @@ class Server():
pass
@cherrypy.expose
- def default(self):
+ def index(self,quote="nothing"):
+ return "<html><body><h1>Hi</h1><p>you said %s</p></body></html>" %quote
+
+
+ @cherrypy.expose
+ def default(self,*path,**kwargs):
return "Hello world"