Enable http digest authentication for CURL

This commit is contained in:
tamasmeszaros 2020-11-25 13:56:57 +01:00
parent c5b06dc1ff
commit 0a932ebfe3
5 changed files with 50 additions and 3 deletions

View file

@ -67,6 +67,8 @@ public:
Http& remove_header(std::string name);
// Authorization by HTTP digest, based on RFC2617.
Http& auth_digest(const std::string &user, const std::string &password);
// Basic HTTP authorization
Http& auth_basic(const std::string &user, const std::string &password);
// Sets a CA certificate file for usage with HTTPS. This is only supported on some backends,
// specifically, this is supported with OpenSSL and NOT supported with Windows and OS X native certificate store.
// See also ca_file_supported().