def application(environ, start_response): content = REMOTE_USER(environ) start_response("200 OK", (('Content-Type', 'text/plain'), ('Content-Length', len(content)))) if six.PY3: content = content.encode('utf8') return [content]
def application(environ, start_response): content = REMOTE_USER(environ) start_response("200 OK",(('Content-Type', 'text/plain'), ('Content-Length', len(content)))) if six.PY3: content = content.encode('utf8') return [content]