diff options
Diffstat (limited to 'docs/cmdline-opts/max-redirs.d')
-rw-r--r-- | docs/cmdline-opts/max-redirs.d | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/cmdline-opts/max-redirs.d b/docs/cmdline-opts/max-redirs.d new file mode 100644 index 000000000..04b824bd2 --- /dev/null +++ b/docs/cmdline-opts/max-redirs.d @@ -0,0 +1,11 @@ +Long: max-redirs +Arg: <num> +Help: Maximum number of redirects allowed +Protocols: HTTP +--- +Set maximum number of redirection-followings allowed. When --location is used, +is used to prevent curl from following redirections \&"in absurdum". By +default, the limit is set to 50 redirections. Set this option to -1 to make it +unlimited. + +If this option is used several times, the last one will be used. |