Searched refs:HTTPResponse (Results 1 – 9 of 9) sorted by relevance
387 class HTTPResponse(http_client.HTTPResponse): class390 http_client.HTTPResponse.__init__(self, *args, **kwargs)410 self._cached_response = http_client.HTTPResponse.read(self)413 return http_client.HTTPResponse.read(self, amt)777 connection.response_class = HTTPResponse807 resp = http_client.HTTPResponse(sock, strict=True, debuglevel=self.debug)
43 response = mock.Mock(spec=http_client.HTTPResponse)
168 source = http_client.HTTPResponse(FakeSocket())
108 class DetailedHTTPResponse(httplib.HTTPResponse):
64 http.client.HTTPResponse drops the rest of the content.
132 if not hasattr(httplib.HTTPResponse, 'getheaders'):133 httplib.HTTPResponse.getheaders = HTTPResponse__getheaders1635 if isinstance(info, httplib.HTTPResponse):
133 if isinstance(source, http_client.HTTPResponse):
1324 if isinstance(info, http.client.HTTPResponse):
182 an \class{rfc822.Message} or an \class{httplib.HTTPResponse} object.