Merge "Fix type on py3"
This commit is contained in:
commit
5e9d5d101a
@ -361,7 +361,7 @@ class ProxyLoggingMiddleware(object):
|
|||||||
while not chunk:
|
while not chunk:
|
||||||
chunk = next(iterator)
|
chunk = next(iterator)
|
||||||
except StopIteration:
|
except StopIteration:
|
||||||
chunk = ''
|
chunk = b''
|
||||||
for h, v in start_response_args[0][1]:
|
for h, v in start_response_args[0][1]:
|
||||||
if h.lower() in ('content-length', 'transfer-encoding'):
|
if h.lower() in ('content-length', 'transfer-encoding'):
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user