Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import eventlet
from eventlet import wsgi
def application(environ, start_response):
start_response('200 OK', [('Content-Type', 'text/plain')])
return ['I am a stupid HTTP server!']
wsgi.server(eventlet.listen(('', 8080)), application, log_output=None, debug=False, max_size=10000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment