response.meta exposes resquest.meta for binded responses

This commit is contained in:
Daniel Graña 2012-10-05 10:57:58 -03:00
parent dd13dfe82b
commit eee8e70b7b
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class HttpErrorMiddleware(object):
def process_spider_input(self, response, spider):
if 200 <= response.status < 300: # common case
return
meta = response.request.meta
meta = response.meta
if 'handle_httpstatus_all' in meta:
return
if 'handle_httpstatus_list' in meta: