From c61e8a617f1291bfcbe56d54a2f80f8fb79b7ddb Mon Sep 17 00:00:00 2001 From: Valdir Stumm Junior Date: Fri, 13 Jul 2018 11:55:16 -0700 Subject: [PATCH] [doc] update default RETRY_HTTP_CODES --- docs/topics/downloader-middleware.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.