From 5275343fa19404f10736923f32d4eb3e74efb35f Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Tue, 28 Jun 2011 17:27:40 -0300 Subject: [PATCH] use handle_httpstatus_all=True in scrapy shell --- scrapy/shell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scrapy/shell.py b/scrapy/shell.py index d3f0654eb..acfe370ca 100644 --- a/scrapy/shell.py +++ b/scrapy/shell.py @@ -74,6 +74,7 @@ class Shell(object): else: url = any_to_uri(request_or_url) request = Request(url, dont_filter=True) + request.meta['handle_httpstatus_all'] = True response = None response, spider = threads.blockingCallFromThread(reactor, \ self._schedule, request, spider)