basicAuthChallenge

fun basicAuthChallenge(realm: String, charset: Charset?): HttpAuthHeader.Parameterized

Generates an AuthScheme.Basic challenge as a HttpAuthHeader.