summaryrefslogtreecommitdiff
path: root/swiftclient/shell.py
diff options
context:
space:
mode:
authorIan Cordasco <ian.cordasco@rackspace.com>2015-01-21 14:38:02 -0600
committerChristian Schwede <christian.schwede@enovance.com>2015-02-25 11:00:56 +0000
commit8756591b0ad24320a0b6fa3b2f7513e17ec46b6c (patch)
tree59bc445535ccfcbfbf657c19523fe9e272e6cd54 /swiftclient/shell.py
parent731707f06da899fa8fb2d521e35f850a2e1652ab (diff)
downloadpython-swiftclient-8756591b0ad24320a0b6fa3b2f7513e17ec46b6c.tar.gz
Release connection after consuming the content
When using stream=True, we need to make sure we release a connection back to the connection pool to avoid warnings clogging up the logs. We can do this by releasing the connection once we've read all the content from the response. In situations where stream=False, requests already does this for us. Related-bug: 1424732 Closes-bug: 1341777 Change-Id: Id1c72ad86135a49d4b985992d788736b65f7dbda
Diffstat (limited to 'swiftclient/shell.py')
0 files changed, 0 insertions, 0 deletions