Back to Curl

`--max-redirs`

docs/cmdline-opts/max-redirs.md

latest255 B
Original Source

--max-redirs

Set the maximum number of redirections to follow. When --location or --follow are used, this option prevents curl from following too many redirects. By default the limit is set to 50 redirects. Set this option to -1 to make it unlimited.