summaryrefslogblamecommitdiffhomepage
path: root/test/python/path/wsgi.py
blob: 2807f6ef952d9083f0f574009cd0cc6d7117b8b3 (plain) (tree)
1
2
3
4
5
6
7
8







                                                               
import os
import sys

def application(environ, start_response):
    body = os.pathsep.join(sys.path).encode()

    start_response('200', [('Content-Length', str(len(body)))])
    return [body]