| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | Long: max-redirs |
| 2 | Arg: <num> | ||||
| 3 | Help: Maximum number of redirects allowed | ||||
| 4 | Protocols: HTTP | ||||
| 5 | --- | ||||
| 6 | Set maximum number of redirection-followings allowed. When --location is used, | ||||
| 7 | is used to prevent curl from following redirections \&"in absurdum". By | ||||
| 8 | default, the limit is set to 50 redirections. Set this option to -1 to make it | ||||
| 9 | unlimited. | ||||
| 10 | |||||
| 11 | If this option is used several times, the last one will be used. | ||||