(no title)
bite_victim | 10 years ago
def wsgi_app(environ, start_response):
output = 'Hello World!'
status = '200 OK'
headers = [('Content-type', 'text/plain'),
('Content-Length', str(len(output)))]
start_response(status, headers)
yield output
# mod_wsgi need the *application* variable to serve our small app
application = wsgi_app
Instead of this: <?php
echo 'Hello World!';
codygman|10 years ago