Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

response.meta exposes resquest.meta for binded responses

  • Loading branch information...
commit eee8e70b7b3805aa131496cb31f0599f7ad61399 1 parent dd13dfe
@dangra dangra authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  scrapy/contrib/spidermiddleware/httperror.py
View
2  scrapy/contrib/spidermiddleware/httperror.py
@@ -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:
Please sign in to comment.
Something went wrong with that request. Please try again.