Initial commit
This commit is contained in:
commit
9c741e6b9c
12 changed files with 1707 additions and 0 deletions
12
foo.py
Executable file
12
foo.py
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
import sys
|
||||
import os
|
||||
import time
|
||||
|
||||
def entrypoint():
|
||||
sys.stderr.write('Called ! req by %s' % os.getenv('REQUEST_METHOD'))
|
||||
sys.stderr.flush()
|
||||
env = "foo"
|
||||
env = ', '.join(os.environ.keys())
|
||||
msg = "Content-Type: text/html\r\n\r\nHello world !(%0.2f)\nenv : %s" % (time.time(), env)
|
||||
sys.stdout.write(msg)
|
||||
sys.stdout.flush()
|
||||
Loading…
Add table
Add a link
Reference in a new issue