summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--swiftclient/client.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/swiftclient/client.py b/swiftclient/client.py
index 8cbdf45..8d28ffb 100644
--- a/swiftclient/client.py
+++ b/swiftclient/client.py
@@ -273,6 +273,9 @@ class _ObjectBody(object):
def __next__(self):
return self.next()
+ def close(self):
+ self.resp.close()
+
class _RetryBody(_ObjectBody):
"""