cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to get authentication method used by libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 16 Nov 2014 23:39:39 +0100 (CET)

On Sun, 16 Nov 2014, Anton Kabakov wrote:

> Is the an API I can use to get the used authentication method?

Ah no, there is only one to extract the authentication methods _available_
(CURLINFO_HTTPAUTH_AVAIL), but none that returns what was actually _used_.

I'd say it would be appropriate to add one...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-11-16