Commit ac811ed3 authored by Robin Schoonover's avatar Robin Schoonover
Browse files

Add some demo wsgi apps.

parent 6f6a9f4a
def hello(environ, start_response):
start_response('200 OK', [('Content-Type', 'text/plain')])
return [b'hello, world\n']
def hello_factory():
return hello()
def env(environ, start_response):
start_response('200 OK', [('Content-Type', 'text/plain')])
return [("%s => %s\n"%(k,v)).encode('utf-8') for k,v in sorted(environ.items())]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment