Merge "Close streamed requests explicitly"

This commit is contained in:
Jenkins
2015-02-06 12:16:46 +00:00
committed by Gerrit Code Review
2 changed files with 15 additions and 1 deletions
+3
View File
@@ -126,6 +126,9 @@ class FakeResponse(object):
def read(self, amt):
return self.body.read(amt)
def close(self):
pass
@property
def content(self):
if hasattr(self.body, "read"):