Commit 61732489 authored by Jason Madden's avatar Jason Madden

bwc for gunicorn in corner case...

bwc for gunicorn in corner case (https://github.com/benoitc/gunicorn/blob/master/gunicorn/workers/ggevent.py#L219) [skip ci]
parent 3916186b
...@@ -371,7 +371,11 @@ class WSGIHandler(object): ...@@ -371,7 +371,11 @@ class WSGIHandler(object):
result = None # The return value of the WSGI application result = None # The return value of the WSGI application
wsgi_input = None # Instance of Input() wsgi_input = None # Instance of Input()
content_length = 0 # From application-provided headers content_length = 0 # From application-provided headers
headers = None # Incoming request headers, instance of MessageClass headers = headers_factory(BytesIO()) # Incoming request headers,
# instance of MessageClass
# (gunicorn uses hasattr on this
# so the default value needs to be
# compatible with the API)
request_version = None # str: 'HTTP 1.1' request_version = None # str: 'HTTP 1.1'
command = None # str: 'GET' command = None # str: 'GET'
path = None # str: '/' path = None # str: '/'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment