'@param code: The expected HTTP response code.
@type code: L{int}
@param headers: The minimum set of headers which must be present in the
response.
@type headers: L{twisted.web.http_headers.Headers}
@param body: The structured form of the body expected in the response.
This is compared against the received body after the received body
is decoded with C{self.decode}.'

def __init__(self, code, headers, body):

    self.code = code
    self.headers = headers
    self.body = body
