Merge pull request #3335 from scrapy/docs-retry-codes

update default RETRY_HTTP_CODES on docs
This commit is contained in:
Mikhail Korobov 2018-07-18 19:33:50 +05:00 committed by GitHub
commit 258121db04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -882,7 +882,7 @@ precedence over the :setting:`RETRY_TIMES` setting.
RETRY_HTTP_CODES
^^^^^^^^^^^^^^^^
Default: ``[500, 502, 503, 504, 408]``
Default: ``[500, 502, 503, 504, 522, 524, 408]``
Which HTTP response codes to retry. Other errors (DNS lookup issues,
connections lost, etc) are always retried.