68
68
class FakeHttpResponse(object):
70
def __init__(self, status, reason, body):
70
def __init__(self, status, reason, headers, body):
76
77
return self.body.read(size)
79
return FakeHttpResponse(200, 'OK', [], self.getfile())
85
82
"""Return a fake file containing the response content."""