1
0
mirror of synced 2025-04-20 11:47:43 +03:00

Code cleanup

This commit is contained in:
yhirose 2020-06-01 13:22:02 -04:00
parent b3a4045300
commit aea60feb85

View File

@ -3213,7 +3213,7 @@ inline std::pair<std::string, std::string> make_digest_authentication_header(
} }
#endif #endif
inline bool parse_www_authenticate(const httplib::Response &res, inline bool parse_www_authenticate(const Response &res,
std::map<std::string, std::string> &auth, std::map<std::string, std::string> &auth,
bool is_proxy) { bool is_proxy) {
auto auth_key = is_proxy ? "Proxy-Authenticate" : "WWW-Authenticate"; auto auth_key = is_proxy ? "Proxy-Authenticate" : "WWW-Authenticate";