Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

[doc] update default RETRY_HTTP_CODES

Valdir Stumm Juniorc61e8a617f12
diff --git a/docs/topics/downloader-middleware.rst b/docs/topics/downloader-middleware.rst
index dfe4c13b4..8dbe249fa 100644
--- a/docs/topics/downloader-middleware.rst
+++ b/docs/topics/downloader-middleware.rst
@@ -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.