mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix echo example on python 3.7
This commit is contained in:
parent
bc6b2fd320
commit
e147feaf8b
@ -5,12 +5,9 @@
|
|||||||
#
|
#
|
||||||
# Example code from Eventlet sources
|
# Example code from Eventlet sources
|
||||||
|
|
||||||
from wsgiref.validate import validator
|
|
||||||
|
|
||||||
from gunicorn import __version__
|
from gunicorn import __version__
|
||||||
|
|
||||||
|
|
||||||
@validator
|
|
||||||
def app(environ, start_response):
|
def app(environ, start_response):
|
||||||
"""Simplest possible application object"""
|
"""Simplest possible application object"""
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user