| 48 | |
| 49 | |
| 50 | void HTTPCredentials::fromUserInfo(const std::string& userInfo) |
| 51 | { |
| 52 | std::string username; |
| 53 | std::string password; |
| 54 | |
| 55 | extractCredentials(userInfo, username, password); |
| 56 | setUsername(username); |
| 57 | setPassword(password); |
| 58 | _digest.reset(); |
| 59 | } |
| 60 | |
| 61 | |
| 62 | void HTTPCredentials::fromURI(const URI& uri) |