def simple_app(environ, start_response):
    """Simplest possible application object"""
status = '200 OK'
response_headers = [('Content-type', 'text/plain')]
start_response(status, response_headers)
How Python web frameworks, WSGI and CGI fit together