1234567891011 |
- import sys
- import os
- import time
-
- def entrypoint():
- import os
- sys.stderr.write('Called ! req by %s' % os.getenv('REMOTE_ADDR'))
- env = "foo"
- env = '<br/>'.join(["'%s'='%s'" % (k, os.environ[k]) for k in os.environ.keys()])
- msg = "Content-Type: text/html\r\n\r\nHello world !(%0.2f)\nenv : %s" % (time.time(), env)
- sys.stdout.write(msg)
|