diff --git a/docs/topics/downloader-middleware.rst b/docs/topics/downloader-middleware.rst index cc0254d29..3641da231 100644 --- a/docs/topics/downloader-middleware.rst +++ b/docs/topics/downloader-middleware.rst @@ -787,14 +787,16 @@ Default: ``True`` Whether the Meta Refresh middleware will be enabled. -.. setting:: REDIRECT_MAX_METAREFRESH_DELAY +.. setting:: METAREFRESH_MAXDELAY -REDIRECT_MAX_METAREFRESH_DELAY -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +METAREFRESH_MAXDELAY +^^^^^^^^^^^^^^^^^^^^ Default: ``100`` The maximum meta-refresh delay (in seconds) to follow the redirection. +Some sites use meta-refresh for redirecting to a session expired page, so we +restrict automatic redirection to the maximum delay. RetryMiddleware --------------- diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst index 60b5f4585..cc070d8c0 100644 --- a/docs/topics/settings.rst +++ b/docs/topics/settings.rst @@ -857,16 +857,6 @@ Defines the maximum times a request can be redirected. After this maximum the request's response is returned as is. We used Firefox default value for the same task. -.. setting:: REDIRECT_MAX_METAREFRESH_DELAY - -REDIRECT_MAX_METAREFRESH_DELAY ------------------------------- - -Default: ``100`` - -Some sites use meta-refresh for redirecting to a session expired page, so we -restrict automatic redirection to a maximum delay (in seconds) - .. setting:: REDIRECT_PRIORITY_ADJUST REDIRECT_PRIORITY_ADJUST