'@param version: HTTP version components protocol, major, minor. E.g.
C{(b\'HTTP\', 1, 1)} to mean C{b\'HTTP/1.1\'}.
@param code: HTTP status code.
@type code: L{int}
@param phrase: HTTP reason phrase, intended to give a short description
of the HTTP status code.
@param headers: HTTP response headers.
@type headers: L{twisted.web.http_headers.Headers}
@param _transport: The transport which is delivering this response.'

def __init__(self, version, code, phrase, headers, _transport):

    self.version = version
    self.code = code
    self.phrase = phrase
    self.headers = headers
    self._transport = _transport
    self._bodyBuffer = []
    self._state = 'INITIAL'
    self.request = None
    self.previousResponse = None
