mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 11:31:53 +01:00
Net: near complete merge to 1.4.2
This commit is contained in:
@@ -116,6 +116,7 @@ void HTTPBasicCredentials::authenticate(HTTPRequest& request)
|
||||
{
|
||||
std::ostringstream ostr;
|
||||
Base64Encoder encoder(ostr);
|
||||
encoder.rdbuf()->setLineLength(0);
|
||||
encoder << _username << ":" << _password;
|
||||
encoder.close();
|
||||
request.setCredentials(SCHEME, ostr.str());
|
||||
|
||||
Reference in New Issue
Block a user