Since "too old" versions are no longer included in the generated man page, this field is now mandatory so that it won't be forgotten and then not included in the documentation. Closes #7786
14 lines
434 B
D
14 lines
434 B
D
Long: max-redirs
|
|
Arg: <num>
|
|
Help: Maximum number of redirects allowed
|
|
Protocols: HTTP
|
|
Category: http
|
|
Example: --max-redirs 3 --location $URL
|
|
Added: 7.5
|
|
---
|
|
Set maximum number of redirections to follow. When --location is used, to
|
|
prevent curl from following too many redirects, by default, the limit is
|
|
set to 50 redirects. Set this option to -1 to make it unlimited.
|
|
|
|
If this option is used several times, the last one will be used.
|