python
pip install meinheld
python
import meinheld
def application(environ, start_response):
response_body = b'Hello World!'
response_headers = [('Content-Type', 'text/plain'),
('Content-Length', str(len(response_body)))]
start_response('200 OK', response_headers)
return [response_body]
if __name__ == '__main__':
meinheld.listen(('0.0.0.0', 8000))
meinheld.run(application)