| 100 | |
| 101 | |
| 102 | void HTTPBasicCredentials::proxyAuthenticate(HTTPRequest& request) const |
| 103 | { |
| 104 | std::ostringstream ostr; |
| 105 | Base64Encoder encoder(ostr); |
| 106 | encoder.rdbuf()->setLineLength(0); |
| 107 | encoder << _username << ":" << _password; |
| 108 | encoder.close(); |
| 109 | request.setProxyCredentials(SCHEME, ostr.str()); |
| 110 | } |
| 111 | |
| 112 | |
| 113 | void HTTPBasicCredentials::parseAuthInfo(const std::string& authInfo) |
nothing calls this directly
no test coverage detected