1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

catch GET parameter

This commit is contained in:
Seth Schoen
2012-11-15 14:33:15 -08:00
parent aed32981f1
commit f3935fac9e

View File

@@ -3,18 +3,15 @@
import web, redis
urls = (
'.*', 'payment'
'/(.*)', 'payment'
)
r = redis.Redis()
class payment(object):
def GET(self):
def GET(self, stuff):
web.header("Content-type", "text/html")
s = ""
try: s = web.data()
except: pass
return "Hello there! " + s
return "Hello there! " + stuff
if __name__ == "__main__":
app = web.application(urls, globals())