def show_environ(environ, start_response): start_response('200 OK',[('Content-type','text/html')]) sorted_keys = environ.keys() sorted(sorted_keys) return [ '

Keys in environ

', '
'.join(sorted_keys), '

', ] # yield '

Keys in environ

' # yield '
'.join(sorted_keys) # yield '

' import wasd wasd.wsgi_run(show_environ)