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