Code cleanup
This commit is contained in:
parent
b3a4045300
commit
aea60feb85
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user