This commit is contained in:
benoitc 2010-06-10 21:23:48 +02:00
parent 09c3310e21
commit 43d0bcbbd3

View File

@ -19,7 +19,7 @@ class GEvent2Worker(Worker):
base_env = {
'GATEWAY_INTERFACE': 'CGI/1.1',
'SERVER_SOFTWARE': 'gevent/%s gunicotn/%s' % (gevent.__version__,
'SERVER_SOFTWARE': 'gevent/%s gunicorn/%s' % (gevent.__version__,
gunicorn.__version__),
'SCRIPT_NAME': '',
'wsgi.version': (1, 0),
@ -53,7 +53,6 @@ class GEvent2Worker(Worker):
})
self.base_env = env
http = core.http()
http.set_gencb(self.handle_request)
self.application = self.wsgi