Merge pull request #1642 from orangain/doc-metarefresh

[MRG+1] DOC: Update MetaRefreshMiddlware's setting variables
This commit is contained in:
Daniel Graña 2016-01-19 13:33:50 -03:00
commit b1e44436bc
2 changed files with 5 additions and 13 deletions

View File

@ -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
---------------

View File

@ -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