Issue 4879: Allow buffering for HTTPResponse

This commit is contained in:
Kristján Valur Jónsson 2009-01-11 16:23:37 +00:00
parent eefda27e97
commit 3c43fcba8b
4 changed files with 36 additions and 43 deletions

View file

@ -655,7 +655,7 @@ class FakeSocket:
def getvalue(self):
return self.data.getvalue()
def makefile(self, x, y):
def makefile(self, x='r', y=-1):
raise RuntimeError
class FakeTransport(xmlrpclib.Transport):