max-redirs.d 434 B

12345678910111213
  1. Long: max-redirs
  2. Arg: <num>
  3. Help: Maximum number of redirects allowed
  4. Protocols: HTTP
  5. Category: http
  6. Example: --max-redirs 3 --location $URL
  7. Added: 7.5
  8. ---
  9. Set maximum number of redirections to follow. When --location is used, to
  10. prevent curl from following too many redirects, by default, the limit is
  11. set to 50 redirects. Set this option to -1 to make it unlimited.
  12. If this option is used several times, the last one will be used.