Scrapy, a fast high-level web crawling & scraping framework for Python.
fix inaccurate downloader middleware documentation. refs #280
Pablo Hoffman96c2332e0ecd
diff --git a/docs/topics/downloader-middleware.rst b/docs/topics/downloader-middleware.rstindex 72ff1c979..80524200f 100644--- a/docs/topics/downloader-middleware.rst+++ b/docs/topics/downloader-middleware.rst@@ -76,14 +76,6 @@ 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 a :class:`~scrapy.http.Request` object, the returned request will be- rescheduled (in the Scheduler) to be downloaded in the future. The callback of- the original request will always be called. If the new request has a callback- it will be called with the response downloaded, and the output of that callback- will then be passed to the original callback. If the new request doesn't have a- callback, the response downloaded will be just passed to the original request- callback.-If it returns an :exc:`~scrapy.exceptions.IgnoreRequest` exception, theentire request will be dropped completely and its callback never called.@@ -105,6 +97,9 @@ single Python class that defines one or more of the following methods:If it returns an :exc:`~scrapy.exceptions.IgnoreRequest` exception, theresponse will be dropped completely and its callback never called.+ If it returns a :class:`~scrapy.http.Request` object, the returned request will be+ rescheduled to be downloaded in the future.+:param request: the request that originated the response:type request: is a :class:`~scrapy.http.Request` object