[settings/default_settings.py] dont retry 400

As in HTTP specs:

"10.4.1 400 Bad Request

The request could not be understood by the server due to malformed
syntax. The client SHOULD NOT repeat the request without
modifications."

Scrapy should not retry 400 by default.
This commit is contained in:
Pawel Miech 2015-06-08 10:52:42 +02:00
parent 87293965db
commit e575f44446
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ REFERER_ENABLED = True
RETRY_ENABLED = True
RETRY_TIMES = 2 # initial response + 2 retries = 3 requests
RETRY_HTTP_CODES = [500, 502, 503, 504, 400, 408]
RETRY_HTTP_CODES = [500, 502, 503, 504, 408]
RETRY_PRIORITY_ADJUST = -1
ROBOTSTXT_OBEY = False