blob: eade17f7bccecd8eb5a535f2cb6803ff746f4ec6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
Long: max-redirs
Arg: <num>
Help: Maximum number of redirects allowed
Protocols: HTTP
Category: http
Example: --max-redirs 3 --location $URL
---
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.
|