MCPcopy
hub / github.com/scrapy/scrapy / _finish_response

Method _finish_response

scrapy/core/downloader/handlers/http11.py:644–656  ·  view source on GitHub ↗
(
        self, flags: list[str] | None = None, stop_download: StopDownload | None = None
    )

Source from the content-addressed store, hash-verified

642 self._tls_verbose_logging: bool = tls_verbose_logging
643
644 def _finish_response(
645 self, flags: list[str] | None = None, stop_download: StopDownload | None = None
646 ) -> None:
647 self._finished.callback(
648 {
649 "txresponse": self._txresponse,
650 "body": self._bodybuf.getvalue(),
651 "flags": flags,
652 "certificate": self._certificate,
653 "ip_address": self._ip_address,
654 "stop_download": stop_download,
655 }
656 )
657
658 def connectionMade(self) -> None:
659 assert self.transport

Callers 2

dataReceivedMethod · 0.95
connectionLostMethod · 0.95

Calls 1

callbackMethod · 0.80

Tested by

no test coverage detected