Skip to content

Commit 862c844

Browse files
committed
Make sure a buffer is added to socket file object
1 parent 174b34d commit 862c844

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

riak/transports/http/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def _request(self, method, uri, headers={}, body='', stream=False):
3535
'multipart/mixed, application/json, */*;q=0.5')
3636
try:
3737
self._connection.request(method, uri, body, headers)
38-
response = self._connection.getresponse()
38+
response = self._connection.getresponse(buffering=True)
3939

4040
if stream:
4141
# The caller is responsible for fully reading the

0 commit comments

Comments
 (0)