codepedia2/utest.py

5 lines
177 B
Python
Raw Normal View History

2018-08-20 13:52:27 +08:00
def application(env, start_response):
start_response('200 OK', [('Content-Type','text/html')])
# return ["Hello World"] # python2
return [b"Hello World"] # python3