using anyauth isn't unconditionally an extra roundtrip
This commit is contained in:
parent
d7bcc26179
commit
e67b2524d1
10
docs/curl.1
10
docs/curl.1
@ -115,10 +115,10 @@ used.
|
|||||||
.IP "--anyauth"
|
.IP "--anyauth"
|
||||||
(HTTP) Tells curl to figure out authentication method by itself, and use the
|
(HTTP) Tells curl to figure out authentication method by itself, and use the
|
||||||
most secure one the remote site claims it supports. This is done by first
|
most secure one the remote site claims it supports. This is done by first
|
||||||
doing a request and checking the response-headers, thus inducing an extra
|
doing a request and checking the response-headers, thus possibly inducing an
|
||||||
network round-trip. This is used instead of setting a specific authentication
|
extra network round-trip. This is used instead of setting a specific
|
||||||
method, which you can do with \fI--basic\fP, \fI--digest\fP, \fI--ntlm\fP, and
|
authentication method, which you can do with \fI--basic\fP, \fI--digest\fP,
|
||||||
\fI--negotiate\fP.
|
\fI--ntlm\fP, and \fI--negotiate\fP.
|
||||||
|
|
||||||
Note that using --anyauth is not recommended if you do uploads from stdin,
|
Note that using --anyauth is not recommended if you do uploads from stdin,
|
||||||
since it may require data to be sent twice and then the client must be able to
|
since it may require data to be sent twice and then the client must be able to
|
||||||
@ -899,7 +899,7 @@ a redirection. This option is meaningful only when using \fI-L/--location\fP
|
|||||||
(Added in 7.17.1)
|
(Added in 7.17.1)
|
||||||
.IP "--proxy-anyauth"
|
.IP "--proxy-anyauth"
|
||||||
Tells curl to pick a suitable authentication method when communicating with
|
Tells curl to pick a suitable authentication method when communicating with
|
||||||
the given proxy. This will cause an extra request/response round-trip. (Added
|
the given proxy. This might cause an extra request/response round-trip. (Added
|
||||||
in 7.13.2)
|
in 7.13.2)
|
||||||
|
|
||||||
If this option is used twice, the second will again disable the proxy use-any
|
If this option is used twice, the second will again disable the proxy use-any
|
||||||
|
Loading…
x
Reference in New Issue
Block a user