From 5f799402950a1bf28909597aa5c3377b03c679b8 Mon Sep 17 00:00:00 2001 From: Nikolaos-Digenis Karagiannis Date: Sat, 14 Jun 2014 11:08:18 +0300 Subject: [PATCH] Document signal "request_scheduled" --- docs/topics/signals.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/topics/signals.rst b/docs/topics/signals.rst index b881352f8..54f11f95d 100644 --- a/docs/topics/signals.rst +++ b/docs/topics/signals.rst @@ -183,6 +183,22 @@ spider_error :param spider: the spider which raised the exception :type spider: :class:`~scrapy.spider.Spider` object +request_scheduled +----------------- + +.. signal:: request_scheduled +.. function:: request_scheduled(request, spider) + + Sent when the engine schedules a :class:`~scrapy.http.Request` for + download. + + The signal does not support returning deferreds from their handlers. + + :param request: the request that reached the scheduler + :type request: :class:`~scrapy.http.Request` object + + :param spider: the spider that yielded the request + :type spider: :class:`~scrapy.spider.Spider` object response_received -----------------