cis notified web server of a job completion; upload form interface and validation...
[living-lab-site.git] / cis / https_test.py
1 import web
2 from web.wsgiserver import CherryPyWSGIServer
3
4 CherryPyWSGIServer.ssl_certificate = "cacert.pem"
5 CherryPyWSGIServer.ssl_private_key = "privkey.pem"
6
7 urls = ("/.*", "hello")
8 app = web.application(urls, globals())
9
10
11 class hello:
12     def GET(self):
13         return "Hello, world!"
14
15     def POST(self):
16         print web.data()
17
18
19 if __name__ == "__main__":
20     app.run()