Initial commit

This commit is contained in:
Yann Weber 2019-06-30 07:53:52 +02:00
commit 9c741e6b9c
12 changed files with 1707 additions and 0 deletions

12
foo.py Executable file
View 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()