diff --git a/server-ca/payment.py b/server-ca/payment.py new file mode 100755 index 000000000..e5950bac6 --- /dev/null +++ b/server-ca/payment.py @@ -0,0 +1,23 @@ +#!/usr/bin/env python + +import web, redis + +urls = ( + '.*', 'payment' +) + +r = redis.Redis() + +class payment(object): + def GET(self): + web.header("Content-type", "text/html") + s = "" + try: s = web.data() + except: pass + return "Hello there! " + s + +if __name__ == "__main__": + app = web.application(urls, globals()) + app.run() + +# vim: set tabstop=4 shiftwidth=4 expandtab