cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to get authentication method used by libcurl

From: Anton Kabakov <antonka_at_checkpoint.com>
Date: Sun, 16 Nov 2014 16:25:37 +0000

Hello,
I'm using libcurl to access several webservers. Some of those servers use different authentication but always with the same user credentials.
Currently I'm configuring curl with CURLAUTH_ANY and those credentials. Everything is working, except I can't find any way to get the authentication method that was used.
Is the an API I can use to get the used authentication method?

Thank you,

 Anton Kabakov

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