Skip to content

Conversation

@shuiyisong
Copy link

Server version has to be v0.17 or later

Signed-off-by: shuiyisong <[email protected]>
*/
public String toBase64() {
String authInfoStr = String.format("%s:%s", this.username, this.password);
String authInfoStr = String.format("Basic %s:%s", this.username, this.password);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we include "Basic" before the encoded string, like Basic {encoded}?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants