mirror of
https://github.com/moparisthebest/curl
synced 2024-12-24 09:08:49 -05:00
docs: use --max-redirs instead of --max-redir
For consistency. Closes #7130
This commit is contained in:
parent
6043edf3dc
commit
3976dd67a2
@ -90,7 +90,7 @@ requested. 0 means the verification was successful. (Added in 7.52.0)
|
||||
.TP
|
||||
.B redirect_url
|
||||
When an HTTP request was made without --location to follow redirects (or when
|
||||
--max-redir is met), this variable will show the actual URL a redirect
|
||||
--max-redirs is met), this variable will show the actual URL a redirect
|
||||
*would* have gone to. (Added in 7.18.2)
|
||||
.TP
|
||||
.B referer
|
||||
|
@ -27,10 +27,10 @@ This server reply is for testing a simple Location: following
|
||||
http
|
||||
</server>
|
||||
<name>
|
||||
'redirect_url' with --location and --max-redir
|
||||
'redirect_url' with --location and --max-redirs
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url}\n' --location --max-redir 0
|
||||
http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w '%{redirect_url}\n' --location --max-redirs 0
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user