'@see: L{IResponse}
@param responseBody: The body of the response.
@type responseBody: L{bytes}'

def __init__(self, version, code, phrase, headers, request, previousResponse, responseBody):

    self.version = version
    self.code = code
    self.phrase = phrase
    self.headers = headers
    self.request = request
    self.length = len(responseBody)
    self._responseBody = responseBody
    self.setPreviousResponse(previousResponse)
