Long: max-redirs Arg: Help: Maximum number of redirects allowed Protocols: HTTP Category: http --- 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.