import guv

guv.monkey_patch()
import json

import bottle

import guv.wsgi
import logger

logger.configure()

app = bottle.Bottle()


@app.route('/')
def index():
    data = json.dumps({'status': True})
    return data


if __name__ == '__main__':
    server_sock = guv.listen(('0.0.0.0', 8001))
    guv.wsgi.serve(server_sock, app)

@@ -28,36 +28,8 @@
 h()%0A
-import json%0A%0Aimport bottle%0A%0A
 impo
@@ -79,101 +79,308 @@
 ()%0A%0A
-app = bottle.Bottle()%0A%0A%0A@app.route('/')%0Adef index():%0A    data = json.dumps(%7B'status': True%7D
+%0Adef app(environ, start_response):%0A    status = '200 OK'%0A    output = %5Bb'Hello World!'%5D%0A    content_length = str(len(b''.join(output)))%0A%0A    response_headers = %5B('Content-type', 'text/plain'),%0A                        ('Content-Length', content_length)%5D%0A%0A    start_response(status, response_headers
 )%0A
+%0A
     
@@ -390,12 +390,14 @@
 urn 
-data
+output
 %0A%0A%0Ai

Use bare WSGI application for testing and benchmarking