Even in thrift empty response should be '' and not None
This commit is contained in:
@@ -78,5 +78,5 @@ class ThriftConnection(PoolingConnection):
|
||||
headers = {}
|
||||
if response.headers:
|
||||
headers = dict((k.lower(), v) for k, v in response.headers.items())
|
||||
return response.status, headers, response.body
|
||||
return response.status, headers, response.body or ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user