'Initialization of fake HTTP Response
:param headers: dict representing HTTP response headers
:param body: file-like object
:param version: HTTP Version
:param status: Response status code
:param reason: Status code related message.'

def __init__(self, headers, body=None, version=1.0, status=200, reason='Ok'):

    self.body = body
    self.status = status
    self['status'] = str(self.status)
    self.reason = reason
    self.version = version
    self.headers = headers
    if headers:
        for (key, value) in headers.items():
            self[key.lower()] = value
