Scrapy, a fast high-level web crawling & scraping framework for Python.
DownloaderMiddleware.process_response docs fix
Mikhail Korobovac2fadf3abb1
diff --git a/docs/topics/downloader-middleware.rst b/docs/topics/downloader-middleware.rstindex c6a189055..64f0eb953 100644--- a/docs/topics/downloader-middleware.rst+++ b/docs/topics/downloader-middleware.rst@@ -76,7 +76,7 @@ single Python class that defines one or more of the following methods:download function; it'll return that Response. Response middleware isalways called on every Response.- If it returns an :exc:`~scrapy.exceptions.IgnoreRequest` exception, the+ If it raises an :exc:`~scrapy.exceptions.IgnoreRequest` exception, theentire request will be dropped completely and its callback never called.:param request: the request being processed@@ -98,7 +98,7 @@ single Python class that defines one or more of the following methods:If it returns a :class:`~scrapy.http.Request` object, the returned request will berescheduled to be downloaded in the future.- If it returns an :exc:`~scrapy.exceptions.IgnoreRequest` exception, the+ If it raises an :exc:`~scrapy.exceptions.IgnoreRequest` exception, theresponse will be dropped completely and its callback never called.:param request: the request that originated the response