Fixed #650
This commit is contained in:
parent
e9575bcb78
commit
7b55ecdc59
@ -4871,7 +4871,7 @@ inline bool ClientImpl::write_request(Stream &strm, const Request &req,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!basic_auth_username_.empty() && !basic_auth_password_.empty()) {
|
if (!basic_auth_password_.empty()) {
|
||||||
headers.insert(make_basic_authentication_header(
|
headers.insert(make_basic_authentication_header(
|
||||||
basic_auth_username_, basic_auth_password_, false));
|
basic_auth_username_, basic_auth_password_, false));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user