Lines Matching refs:start_response
5 def simple_app(environ, start_response): argument
6 start_response("200 OK", [('Content-type', 'text/plain')])
9 def not_found_app(environ, start_response): argument
10 start_response("404 Not found", [('Content-type', 'text/plain')])
20 def error_docs_app(environ, start_response): argument
22 start_response("404 Not found", [('Content-type', 'text/plain')])
25 start_response("200 OK", [('Content-type', 'text/plain')])
28 return simple_app(environ, start_response)
62 def auth_required_app(environ, start_response): argument
63 …start_response('401 Unauthorized', [('content-type', 'text/plain'), ('www-authenticate', 'Basic re…
66 def auth_docs_app(environ, start_response): argument
68 return auth_required_app(environ, start_response)
70 start_response("200 OK", [('Content-type', 'text/html')])
73 return simple_app(environ, start_response)
86 def app(environ, start_response): argument
87 start_response('404 Not Found', [('content-type', 'text/plain')])