def process_request_result(self, req: HttpRequest) -> Document:
        """Process result of real request performed via transport extension."""
        doc = self.transport.prepare_response(req, document_class=self.document_class)
        all(func(req, doc) for func in self.ext_handlers["response:post"])
        return doc
Process result of real request performed via transport extension.
grab/client.py