HTTP Auth: Add CURLAUTH_ONLY
authorDaniel Stenberg <daniel@haxx.se>
Thu, 11 Nov 2010 15:41:59 +0000 (16:41 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 11 Nov 2010 15:44:50 +0000 (16:44 +0100)
commit8636742256c724bee50452d9ef92ffd25b76b8a1
tree750c3df21068668c120fc68ee4811ab15b081883
parenta1f32ffee540bcef046dc499938585c5da9d0aa8
HTTP Auth: Add CURLAUTH_ONLY

This is a meta symbol. OR this value together with a single specific
auth value to force libcurl to probe for un-restricted auth and if not,
only that single auth algorithm is acceptable.

For example you can use CURLAUTH_DIGEST|CURLAUTH_ONLY to make libcurl
first probe for what method to use, but yet only consider Digest to be
acceptable.

Using _only_ CURLAUTH_DIGEST without the CURLAUTH_ONLY field, will make
libcurl explicitly use Digest right away and not do any probing.
docs/libcurl/curl_easy_setopt.3
docs/libcurl/symbols-in-versions
include/curl/curl.h